summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-07-04 06:52:27 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2016-07-06 19:00:24 +0200
commit3ab23fd96d4b4542309cddcacb848300f7456d18 (patch)
treeea157621b90d0ae587d3be569867f6b89e891461 /src
parentfcb30ed5e5b0f6e2065c5be81f9bb5b1e08f5141 (diff)
Check for '__unix__' instead of just '__linux__'.
All Unices should have 'mmap()'.
Diffstat (limited to 'src')
-rw-r--r--src/firm/jittest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firm/jittest.c b/src/firm/jittest.c
index b8609fb..3319ace 100644
--- a/src/firm/jittest.c
+++ b/src/firm/jittest.c
@@ -4,7 +4,7 @@
*/
#include "jittest.h"
-#if defined(__APPLE__) || defined(__linux__)
+#if defined(__APPLE__) || defined(__unix__)
#define _GNU_SOURCE
#include <libfirm/irprog.h>