Commit 9fc9dc535ee7af28f49f86a8ecacb7f575c46ba4

Yen Chi Hsuan 2017-10-27T16:12:56

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__)
 /*