aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/hipe
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2016-11-09 18:41:43 +0100
committerSverker Eriksson <[email protected]>2016-11-17 17:18:10 +0100
commit27e865d01ad49664897662ccc123d825505c0ff6 (patch)
tree8e2d2a54e64ea47e86f24fc96dc599b83702df6e /erts/emulator/hipe
parente770c849d011d8d5872e5f1400d77c25a9268186 (diff)
downloadotp-27e865d01ad49664897662ccc123d825505c0ff6.tar.gz
otp-27e865d01ad49664897662ccc123d825505c0ff6.tar.bz2
otp-27e865d01ad49664897662ccc123d825505c0ff6.zip
erts: Fix all -Wundef errors
Diffstat (limited to 'erts/emulator/hipe')
-rw-r--r--erts/emulator/hipe/hipe_x86_signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/hipe/hipe_x86_signal.c b/erts/emulator/hipe/hipe_x86_signal.c
index 50d08b96d3..1a34ce786c 100644
--- a/erts/emulator/hipe/hipe_x86_signal.c
+++ b/erts/emulator/hipe/hipe_x86_signal.c
@@ -51,7 +51,7 @@
#endif
#include "hipe_signal.h"
-#if __GLIBC__ == 2 && (__GLIBC_MINOR__ >= 3)
+#if defined(__GLIBC__) && __GLIBC__ == 2 && (__GLIBC_MINOR__ >= 3)
/*
* __libc_sigaction() is the core routine.
* Without libpthread, sigaction() and __sigaction() are both aliases