diff options
Diffstat (limited to 'Source/RegexKitLite.m')
-rw-r--r-- | Source/RegexKitLite.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/RegexKitLite.m b/Source/RegexKitLite.m index dababa6a..a3e3dce1 100644 --- a/Source/RegexKitLite.m +++ b/Source/RegexKitLite.m @@ -165,8 +165,9 @@ typedef uint32_t RKLLookasideCache_t; #define RKL_EXPECTED(cond, expect) __builtin_expect((long)(cond), (expect)) #define RKL_PREFETCH(ptr) __builtin_prefetch(ptr) #define RKL_PREFETCH_UNICHAR(ptr, off) { const char *p = ((const char *)(ptr)) + ((off) * sizeof(UniChar)) + _RKL_PREFETCH_SIZE; RKL_PREFETCH(p); RKL_PREFETCH(p + _RKL_PREFETCH_SIZE); } -#define RKL_HAVE_CLEANUP -#define RKL_CLEANUP(func) RKL_ATTRIBUTES(cleanup(func)) +//#define RKL_HAVE_CLEANUP +//#define RKL_CLEANUP(func) RKL_ATTRIBUTES(cleanup(func)) +#define RKL_CLEANUP(func) #else // defined (__GNUC__) && (__GNUC__ >= 4) #define RKL_ATTRIBUTES(attr, ...) #define RKL_EXPECTED(cond, expect) (cond) |