From c837f3927e366ccee75d21427cfc741066d5e80d Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Wed, 4 Sep 2013 11:51:05 +0000 Subject: the code in the C runtime is now complete independent from config.h --- src/runtime/c/gu/defs.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/runtime/c/gu') diff --git a/src/runtime/c/gu/defs.h b/src/runtime/c/gu/defs.h index 9fa62b39b..51a2293e3 100644 --- a/src/runtime/c/gu/defs.h +++ b/src/runtime/c/gu/defs.h @@ -56,13 +56,9 @@ #ifdef GU_ALIGNOF # define gu_alignof GU_ALIGNOF -# define GU_ALIGNOF_WORKS_ON_FAM_STRUCTS #else # define gu_alignof(t_) \ ((size_t)(offsetof(struct { char c_; t_ e_; }, e_))) -# ifdef GU_CAN_HAVE_FAM_IN_MEMBER -# define GU_ALIGNOF_WORKS_ON_FAM_STRUCTS -# endif #endif #define GU_PLIT(type, expr) \ @@ -116,7 +112,7 @@ gu_min(int a, int b) { return GU_MIN(a, b); } -#ifdef GU_ALIGNOF_WORKS_ON_FAM_STRUCTS +#ifdef GU_ALIGNOF #define gu_flex_alignof gu_alignof #else #define gu_flex_alignof(t) 0 -- cgit v1.2.3