diff options
author | Jesse Chappell <jesse@essej.net> | 2005-11-29 06:49:00 +0000 |
---|---|---|
committer | Jesse Chappell <jesse@essej.net> | 2005-11-29 06:49:00 +0000 |
commit | d9b463178f20a236c7ff23180f94e76435f2e98a (patch) | |
tree | 52c8695b8a6d0e845df61a38e80f62e6521b1229 /SConstruct | |
parent | b1a99f89da52018d3995592eb821f8e4a3c89a28 (diff) |
committed fix for cross-endian native wave files
git-svn-id: svn://localhost/trunk/ardour2@146 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 98d422cd8d..c3a46812e3 100644 --- a/SConstruct +++ b/SConstruct @@ -651,6 +651,14 @@ if env['VST']: env.Append(CCFLAGS="-DVST_SUPPORT") +# check endianness +if sys.byteorder == "big": + print "Host is big endian" + env.Append(CCFLAGS="-DWORDS_BIGENDIAN") +else: + print "Host is little endian" + + # # everybody needs this # |