Merge "libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus'"
This commit is contained in:
commit
e6e2ba1d40
@ -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
Block a user