aboutsummaryrefslogtreecommitdiff
path: root/iemlib2/src
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2013-06-28 07:23:14 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2013-06-28 07:23:14 +0000
commit503a636a298d16b9298c633007ccfe49c8a9952a (patch)
tree3d1caca7cba36053aa6fbad131ba0bbddcbe243e /iemlib2/src
parentebc05bea53367e4b62ee5f902c3f0d73be6bca85 (diff)
synched iemlib.h
- include <endian.h> on more platforms (debian/bsd, hurd, android, cygwin) - SETNULL/IS_A_NULL macros (formerly only found in iemlib2) svn path=/trunk/externals/iemlib/; revision=17163
Diffstat (limited to 'iemlib2/src')
-rw-r--r--iemlib2/src/iemlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/iemlib2/src/iemlib.h b/iemlib2/src/iemlib.h
index af3af5c..ac1ffce 100644
--- a/iemlib2/src/iemlib.h
+++ b/iemlib2/src/iemlib.h
@@ -56,11 +56,11 @@ extern int sys_noloadbang;
#define int32 long
#endif /* MSW */
-#if defined(__FreeBSD__) || defined(__APPLE__)
+#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__FreeBSD_kernel__)
#include <machine/endian.h>
#endif
-#ifdef __linux__
+#if defined(__linux__) || defined(__CYGWIN__) || defined(__GNU__) || defined(ANDROID)
#include <endian.h>
#endif