From 847b183f631ccbaa363a15c24195c00cad9529f9 Mon Sep 17 00:00:00 2001 From: David 'Digit' Turner Date: Fri, 11 Mar 2011 14:51:19 +0100 Subject: [PATCH] libc: : Replace '#if __cplusplus' by '#ifdef __cplusplus' See http://code.google.com/p/android/issues/detail?id=15221 Change-Id: Ia7b6668c28737810d6c4941604c6adf232a27c61 --- libc/include/pthread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/include/pthread.h b/libc/include/pthread.h index 27e13e497..9d05769ef 100644 --- a/libc/include/pthread.h +++ b/libc/include/pthread.h @@ -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