summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2015-06-22 16:53:06 +0200
committerWim Taymans <wtaymans@redhat.com>2016-03-30 09:25:25 +0200
commit9ac6e3d2e30be0c3f38e14551baa26db614d4f3f (patch)
tree7a8b792a9ff77776431f9f8e40587cc3306feee9
parent0a53221e0068603511fecc276b4de548a5fc0835 (diff)
tests: fix cpp directivesrhel-7.x
-rw-r--r--tests/check/libs/libsabi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/check/libs/libsabi.c b/tests/check/libs/libsabi.c
index 76a384eec..508406ad5 100644
--- a/tests/check/libs/libsabi.c
+++ b/tests/check/libs/libsabi.c
@@ -82,16 +82,16 @@
# 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 */