From f4c17cb7aa1517739c5aea5155e17fc9d1b2f05e Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 16 May 2012 15:18:44 +0000 Subject: another attempt to port the robust parser to MacOS --- src/runtime/c/gu/mem.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/runtime/c/gu/mem.h') 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, ...) * -- cgit v1.2.3