summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/mem.h
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2012-05-16 15:18:44 +0000
committerkr.angelov <kr.angelov@gmail.com>2012-05-16 15:18:44 +0000
commitf4c17cb7aa1517739c5aea5155e17fc9d1b2f05e (patch)
treedaf935713c70a871e9131d2d92eb97e7ac7b6aee /src/runtime/c/gu/mem.h
parent6f328c9040b394054eff399f26d3b7aea6567206 (diff)
another attempt to port the robust parser to MacOS
Diffstat (limited to 'src/runtime/c/gu/mem.h')
-rw-r--r--src/runtime/c/gu/mem.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/c/gu/mem.h b/src/runtime/c/gu/mem.h
index 4369f4036..e389bcc0c 100644
--- a/src/runtime/c/gu/mem.h
+++ b/src/runtime/c/gu/mem.h
@@ -171,7 +171,7 @@ gu_malloc_init(GuPool* pool, size_t size, const void* init)
-#ifdef GU_HAVE_STATEMENT_EXPRESSIONS
+#ifdef HAVE_STATEMENT_EXPRESSIONS
#define gu_new_i(pool, type, ...) \
({ \
type *gu_new_p_ = gu_new(type, pool); \
@@ -179,12 +179,12 @@ gu_malloc_init(GuPool* pool, size_t size, const void* init)
sizeof(type)); \
gu_new_p_; \
})
-#else // GU_HAVE_STATEMENT_EXPRESSIONS
+#else // HAVE_STATEMENT_EXPRESSIONS
#define gu_new_i(pool, type, ...) \
((type*)gu_malloc_init_aligned((pool), sizeof(type), \
gu_alignof(type), \
&(type){ __VA_ARGS__ }))
-#endif // GU_HAVE_STATEMENT_EXPRESSIONS
+#endif // HAVE_STATEMENT_EXPRESSIONS
/** @def gu_new_i(pool, type, ...)
*