Changeset 1324
- Timestamp:
- 01/26/08 21:03:30 (7 months ago)
- Location:
- portaudio/branches/v19-devel
- Files:
-
- 3 modified
-
configure (modified) (1 diff)
-
configure.in (modified) (1 diff)
-
src/common/pa_endianness.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
portaudio/branches/v19-devel/configure
r1323 r1324 21284 21284 21285 21285 if [ "$enable_mac_debug" = "yes" ] ; then 21286 CFLAGS="$CFLAGS -g -Werror";21286 CFLAGS="$CFLAGS -g"; 21287 21287 CXXFLAGS="$CXXFLAGS -g"; 21288 21288 else 21289 21289 CFLAGS="$CFLAGS -DNDEBUG"; 21290 21290 fi 21291 21292 CFLAGS="$CFLAGS -Werror" 21291 21293 21292 21294 if [ -d /Developer/SDKs/MacOSX10.5.sdk ] ; then -
portaudio/branches/v19-devel/configure.in
r1323 r1324 151 151 AC_DEFINE(PA_USE_COREAUDIO) 152 152 if [[ "$enable_mac_debug" = "yes" ]] ; then 153 CFLAGS="$CFLAGS -g -Werror";153 CFLAGS="$CFLAGS -g"; 154 154 CXXFLAGS="$CXXFLAGS -g"; 155 155 else 156 156 CFLAGS="$CFLAGS -DNDEBUG"; 157 157 fi 158 159 CFLAGS="$CFLAGS -Werror" 158 160 159 161 if [[ -d /Developer/SDKs/MacOSX10.5.sdk ]] ; then -
portaudio/branches/v19-devel/src/common/pa_endianness.h
r1216 r1324 121 121 the context in which this macro is used. 122 122 */ 123 #if defined(PA_LITTLE_ENDIAN) 124 #define PA_VALIDATE_ENDIANNESS \ 125 { \ 126 const long nativeOne = 1; \ 127 assert( "PortAudio: compile time and runtime endianness don't match" && (((char *)&nativeOne)[0]) == 1 ); \ 128 } 129 #elif defined(PA_BIG_ENDIAN) 130 #define PA_VALIDATE_ENDIANNESS \ 131 { \ 132 const long nativeOne = 1; \ 133 assert( "PortAudio: compile time and runtime endianness don't match" && (((char *)&nativeOne)[0]) == 0 ); \ 134 } 123 #if defined(NDEBUG) 124 #define PA_VALIDATE_ENDIANNESS 125 #else 126 #if defined(PA_LITTLE_ENDIAN) 127 #define PA_VALIDATE_ENDIANNESS \ 128 { \ 129 const long nativeOne = 1; \ 130 assert( "PortAudio: compile time and runtime endianness don't match" && (((char *)&nativeOne)[0]) == 1 ); \ 131 } 132 #elif defined(PA_BIG_ENDIAN) 133 #define PA_VALIDATE_ENDIANNESS \ 134 { \ 135 const long nativeOne = 1; \ 136 assert( "PortAudio: compile time and runtime endianness don't match" && (((char *)&nativeOne)[0]) == 0 ); \ 137 } 138 #endif 135 139 #endif 136 140
