| diff -aruN a/CFBase.c b/CFBase.c |
| --- a/CFBase.c 2011-08-10 16:29:35.458178493 -0700 |
| +++ b/CFBase.c 2011-08-10 16:31:27.000000000 -0700 |
| @@ -270,7 +270,7 @@ |
| malloc_zone_free((malloc_zone_t*)info, ptr); |
| } |
| |
| -#endif |
| +#endif /* DEPLOYMENT_TARGET_MACOSX */ |
| |
| #if DEPLOYMENT_TARGET_WINDOWS || DEPLOYMENT_TARGET_LINUX || DEPLOYMENT_TARGET_FREEBSD |
| static void *__CFAllocatorSystemAllocate(CFIndex size, CFOptionFlags hint, void *info) { |
| @@ -685,7 +685,7 @@ |
| malloc_zone_free((malloc_zone_t *)allocator, ptr); |
| return NULL; |
| } |
| -#endif |
| +#endif /* DEPLOYMENT_TARGET_MACOSX */ |
| deallocateFunc = __CFAllocatorGetDeallocateFunction(&allocator->_context); |
| if (NULL != deallocateFunc) { |
| INVOKE_CALLBACK2(deallocateFunc, ptr, allocator->_context.info); |
| @@ -722,7 +722,7 @@ |
| #endif |
| return malloc_zone_free((malloc_zone_t *)allocator, ptr); |
| } |
| -#endif |
| +#endif /* DEPLOYMENT_TARGET_MACOSX */ |
| deallocateFunc = __CFAllocatorGetDeallocateFunction(&allocator->_context); |
| if (NULL != ptr && NULL != deallocateFunc) { |
| INVOKE_CALLBACK2(deallocateFunc, ptr, allocator->_context.info); |