* gthr-vxworks.h (UNUSED): Define.

From-SVN: r133477
This commit is contained in:
Nathan Sidwell 2008-03-24 11:18:22 +00:00 committed by Nathan Sidwell
parent 15f6d6e767
commit 37ca4602e6
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2008-03-24 Nathan Sidwell <nathan@codesourcery.com>
* gthr-vxworks.h (UNUSED): Define.
2008-03-23 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.h (STATIC_CHAIN_REGNUM): Use R10_REG and

View File

@ -36,6 +36,11 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
#include "gthr-posix.h"
#else
#ifdef __cplusplus
#define UNUSED(x)
#else
#define UNUSED(x) x __attribute__((unused))
#endif
#ifdef __cplusplus
extern "C" {
@ -141,6 +146,8 @@ extern int __gthread_key_delete (__gthread_key_t key);
extern void *__gthread_getspecific (__gthread_key_t key);
extern int __gthread_setspecific (__gthread_key_t key, void *ptr);
#undef UNUSED
#ifdef __cplusplus
}
#endif