commit | 847b183f631ccbaa363a15c24195c00cad9529f9 | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@android.com> | Fri Mar 11 14:51:19 2011 +0100 |
committer | David 'Digit' Turner <digit@android.com> | Fri Mar 11 14:51:19 2011 +0100 |
tree | 9d8f7ed7a141f94903192df2eb2398b38e5abc14 | |
parent | dfe6eda57e1e463427f941d5d71f8ccb5297d6d2 [diff] [blame] |
libc: <pthread.h>: Replace '#if __cplusplus' by '#ifdef __cplusplus' See http://code.google.com/p/android/issues/detail?id=15221 Change-Id: Ia7b6668c28737810d6c4941604c6adf232a27c61
diff --git a/libc/include/pthread.h b/libc/include/pthread.h index 27e13e4..9d05769 100644 --- a/libc/include/pthread.h +++ b/libc/include/pthread.h
@@ -103,7 +103,7 @@ /* * Prototypes */ -#if __cplusplus +#ifdef __cplusplus extern "C" { #endif @@ -302,7 +302,7 @@ __pthread_cleanup_pop( &__cleanup, (execute)); \ } while (0); -#if __cplusplus +#ifdef __cplusplus } /* extern "C" */ #endif