Merge pull request #384 from yan12125/fix-sgidefs-checking Fix linux detection (closes #303)
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__)
/*