Merge "libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'"

This commit is contained in:
David 'Digit' Turner 2011-03-11 09:31:57 -08:00 committed by Android Code Review
commit e6e2ba1d40

View File

@ -103,7 +103,7 @@ typedef volatile int pthread_once_t;
/* /*
* Prototypes * Prototypes
*/ */
#if __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -302,7 +302,7 @@ extern void __pthread_cleanup_pop(__pthread_cleanup_t* c,
__pthread_cleanup_pop( &__cleanup, (execute)); \ __pthread_cleanup_pop( &__cleanup, (execute)); \
} while (0); } while (0);
#if __cplusplus #ifdef __cplusplus
} /* extern "C" */ } /* extern "C" */
#endif #endif