* gthr-vxworks.h (UNUSED): Define.
From-SVN: r133477
This commit is contained in:
parent
15f6d6e767
commit
37ca4602e6
@ -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>
|
2008-03-23 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* config/i386/i386.h (STATIC_CHAIN_REGNUM): Use R10_REG and
|
* config/i386/i386.h (STATIC_CHAIN_REGNUM): Use R10_REG and
|
||||||
|
@ -36,6 +36,11 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
|
|||||||
#include "gthr-posix.h"
|
#include "gthr-posix.h"
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
#ifdef __cplusplus
|
||||||
|
#define UNUSED(x)
|
||||||
|
#else
|
||||||
|
#define UNUSED(x) x __attribute__((unused))
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -141,6 +146,8 @@ extern int __gthread_key_delete (__gthread_key_t key);
|
|||||||
extern void *__gthread_getspecific (__gthread_key_t key);
|
extern void *__gthread_getspecific (__gthread_key_t key);
|
||||||
extern int __gthread_setspecific (__gthread_key_t key, void *ptr);
|
extern int __gthread_setspecific (__gthread_key_t key, void *ptr);
|
||||||
|
|
||||||
|
#undef UNUSED
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user