Revision: 99 http://trac.macosforge.org/projects/libdispatch/changeset/99 Author: robert@fledge.watson.org Date: 2009-11-03 06:40:23 -0800 (Tue, 03 Nov 2009) Log Message: ----------- When testing USE_, prefer #if to #ifdef. Suggested by: Kevin Van Vechten <kvv@apple.com> Modified Paths: -------------- trunk/src/internal.h trunk/src/os_shims.h trunk/src/private.h Modified: trunk/src/internal.h =================================================================== --- trunk/src/internal.h 2009-11-03 14:35:21 UTC (rev 98) +++ trunk/src/internal.h 2009-11-03 14:40:23 UTC (rev 99) @@ -275,7 +275,7 @@ #include "semaphore_internal.h" #include "source_internal.h" -#ifdef USE_APPLE_CRASHREPORTER_INFO +#if USE_APPLE_CRASHREPORTER_INFO #ifdef HAVE_MACH // MIG_REPLY_MISMATCH means either: Modified: trunk/src/os_shims.h =================================================================== --- trunk/src/os_shims.h 2009-11-03 14:35:21 UTC (rev 98) +++ trunk/src/os_shims.h 2009-11-03 14:40:23 UTC (rev 99) @@ -38,7 +38,7 @@ #include <pthread_np.h> #endif -#ifdef USE_APPLE_CRASHREPORTER_INFO +#if USE_APPLE_CRASHREPORTER_INFO __private_extern__ const char *__crashreporter_info__; #endif Modified: trunk/src/private.h =================================================================== --- trunk/src/private.h 2009-11-03 14:35:21 UTC (rev 98) +++ trunk/src/private.h 2009-11-03 14:40:23 UTC (rev 99) @@ -67,7 +67,7 @@ DISPATCH_NOTHROW void -#ifdef USE_LIBDISPATCH_INIT_CONSTRUCTOR +#if USE_LIBDISPATCH_INIT_CONSTRUCTOR libdispatch_init(void) __attribute__ ((constructor)); #else libdispatch_init(void);