Differences From Artifact [0c79230d37]:
- File
src/OFObject.m
— part of check-in
[17be12b6e5]
at
2014-05-15 01:50:04
on branch trunk
— Don't define _*_SOURCE
Instead, just define _GNU_SOURCE when __GLIBC__ is defined. After all,
that's the only libc that doesn't work properly without any defines. (user: js, size: 24090) [annotate] [blame] [check-ins using]
To Artifact [a836174d3d]:
- File src/OFObject.m — part of check-in [469553637d] at 2014-05-15 15:17:25 on branch trunk — Work around Apple's API breaking the C standard (user: js, size: 24106) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
217 218 219 220 221 222 223 | @implementation OFObject + (void)load { #if !defined(OF_APPLE_RUNTIME) || defined(__OBJC2__) objc_setUncaughtExceptionHandler(uncaughtExceptionHandler); #endif | | | 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 | @implementation OFObject + (void)load { #if !defined(OF_APPLE_RUNTIME) || defined(__OBJC2__) objc_setUncaughtExceptionHandler(uncaughtExceptionHandler); #endif objc_setForwardHandler((void*)&of_forward, (void*)&of_forward_stret); #ifdef HAVE_OBJC_ENUMERATIONMUTATION objc_setEnumerationMutationHandler(enumerationMutationHandler); #endif #if defined(HAVE_ARC4RANDOM) of_hash_seed = arc4random(); |
︙ | ︙ |