tests: fix cpp directives
authorWim Taymans <wtaymans@redhat.com>
Mon, 22 Jun 2015 14:53:06 +0000 (16:53 +0200)
committerWim Taymans <wtaymans@redhat.com>
Mon, 22 Jun 2015 14:53:06 +0000 (16:53 +0200)
tests/check/libs/libsabi.c

index 76a384e..508406a 100644 (file)
 #   include "struct_i386.h"
 #   define HAVE_ABI_SIZES TRUE
 # endif
-#elif HAVE_CPU_X86_64
+#elif defined HAVE_CPU_X86_64
 # include "struct_x86_64.h"
 # define HAVE_ABI_SIZES TRUE
-#elif HAVE_CPU_ARM
+#elif defined HAVE_CPU_ARM
 # include "struct_arm.h"
 # define HAVE_ABI_SIZES FALSE
-#elif HAVE_CPU_PPC
+#elif defined HAVE_CPU_PPC
 # include "struct_ppc32.h"
 # define HAVE_ABI_SIZES TRUE
-#elif HAVE_CPU_PPC64
+#elif defined HAVE_CPU_PPC64
 # include "struct_ppc64.h"
 # define HAVE_ABI_SIZES TRUE
 #else /* in case someone wants to generate a new arch */