aboutsummaryrefslogtreecommitdiffstats
path: root/main/libffi/use-stdc-compatible-linux-define.patch
blob: ad7c8750150e2a30cf85dd45e57ea94e393373ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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__)
 /*