ObjFW  Check-in [5c6e2b3362]

Overview
Comment:Include objc/runtime.h when using the new GNU runtime.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 0.5
Files: files | file ages | folders
SHA3-256: 5c6e2b3362f008f90fdcd9dc1dacb21427c12596cac738712152d5cc247f0581
User & Date: js on 2011-07-10 03:19:27
Other Links: branch diff | manifest | tags
Context
2011-07-10
17:43
Include sys/types.h for off_t. check-in: f9b89feb5a user: js tags: 0.5
03:19
Include objc/runtime.h when using the new GNU runtime. check-in: 5c6e2b3362 user: js tags: 0.5
2011-07-07
18:07
-framework has to be before -f* in objfw-compile. check-in: 4c6a978a19 user: js tags: 0.5
Changes

Modified tests/OFBlockTests.m from [202f1a62ea] to [9383a4bb50].

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_OLD_GNU_RUNTIME)
# include <objc/objc-api.h>
#elif defined(OF_APPLE_RUNTIME)
# include <objc/runtime.h>
#endif
#if defined(OF_OLD_GNU_RUNTIME) || defined(OF_OBJFW_RUNTIME)
# define objc_getClass objc_get_class
#endif

#import "TestsAppDelegate.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"