libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'
See http://code.google.com/p/android/issues/detail?id=15221 Change-Id: Ia7b6668c28737810d6c4941604c6adf232a27c61
This commit is contained in:
parent
dfe6eda57e
commit
847b183f63
|
@ -103,7 +103,7 @@ typedef volatile int pthread_once_t;
|
|||
/*
|
||||
* Prototypes
|
||||
*/
|
||||
#if __cplusplus
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
@ -302,7 +302,7 @@ extern void __pthread_cleanup_pop(__pthread_cleanup_t* c,
|
|||
__pthread_cleanup_pop( &__cleanup, (execute)); \
|
||||
} while (0);
|
||||
|
||||
#if __cplusplus
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue