Overview
Comment: | Include objc/runtime.h when using the new GNU runtime. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
19bb966105332f7f691917ad49b8055f |
User & Date: | js on 2011-07-10 03:19:27 |
Other Links: | manifest | tags |
Context
2011-07-10
| ||
17:43 | Include sys/types.h for off_t. check-in: 5870131a84 user: js tags: trunk | |
03:19 | Include objc/runtime.h when using the new GNU runtime. check-in: 19bb966105 user: js tags: trunk | |
03:18 | Clang with the new GNU runtime does not like blocks checked against nil. check-in: bb68bc87dd user: js tags: trunk | |
Changes
Modified tests/OFBlockTests.m from [202f1a62ea] to [9383a4bb50].
︙ | ︙ | |||
18 19 20 21 22 23 24 | #import "OFBlock.h" #import "OFString.h" #import "OFAutoreleasePool.h" #if defined(OF_OBJFW_RUNTIME) # include <objfw-rt.h> | | | | | | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #import "OFBlock.h" #import "OFString.h" #import "OFAutoreleasePool.h" #if defined(OF_OBJFW_RUNTIME) # include <objfw-rt.h> #elif defined(OF_APPLE_RUNTIME) || defined(OF_GNU_RUNTIME) # include <objc/runtime.h> #elif defined(OF_OLD_GNU_RUNTIME) # include <objc/objc-api.h> #endif #if defined(OF_OLD_GNU_RUNTIME) || defined(OF_OBJFW_RUNTIME) # define objc_getClass objc_get_class #endif #import "TestsAppDelegate.h" |
︙ | ︙ |