Commit 14eac93869eb109bea1daeb4f00609169d5488ff

Anthony Green 2017-11-03T06:49:03

Merge pull request #384 from yan12125/fix-sgidefs-checking Fix linux detection (closes #303)

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/mips/ffitarget.h b/src/mips/ffitarget.h
index cc89a84..9715890 100644
--- a/src/mips/ffitarget.h
+++ b/src/mips/ffitarget.h
@@ -32,7 +32,7 @@
 #error "Please do not include ffitarget.h directly into your source.  Use ffi.h instead."
 #endif
 
-#ifdef linux
+#ifdef __linux__
 # include <asm/sgidefs.h>
 #elif defined(__rtems__)
 /*