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:
David 'Digit' Turner 2011-03-11 14:51:19 +01:00
parent dfe6eda57e
commit 847b183f63
1 changed files with 2 additions and 2 deletions

View File

@ -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