(svn r22177) -Fix: make sure the right endianness is chosen with cross-compiling, and strndup is available in the binary for more exotic platforms

This commit is contained in:
rubidium
2011-03-03 21:43:24 +00:00
parent 25c7bdde66
commit 59e42ea178
4 changed files with 10 additions and 6 deletions

View File

@@ -32,7 +32,7 @@
#endif
/* Check for mismatching 'architectures' */
#if !defined(STRGEN) && ((__LP64__ && !defined(_SQ64)) || (!__LP64__ && defined(_SQ64)))
#if !defined(STRGEN) && !defined(SETTINGSGEN) && ((__LP64__ && !defined(_SQ64)) || (!__LP64__ && defined(_SQ64)))
# error "Compiling 64 bits without _SQ64 set! (or vice versa)"
#endif