commit | 9fc9dc535ee7af28f49f86a8ecacb7f575c46ba4 | [log] [tgz] |
---|---|---|
author | Yen Chi Hsuan <yan12125@gmail.com> | Fri Oct 27 16:12:56 2017 +0800 |
committer | Yen Chi Hsuan <yan12125@gmail.com> | Fri Oct 27 16:12:56 2017 +0800 |
tree | 176a68ec7037b9d63c4fa2236516f0ef7181c4bb | |
parent | ad15ae762c8b3999e626ebccb9cf454455119555 [diff] |
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__) /*