Clean up Xiph includes. Move HAVE_CRYPTOPP define in here. (How did

that end up in arch?  arch has nothing to do with crypto++.)
This commit is contained in:
Glenn Maynard
2005-10-20 03:37:16 +00:00
parent d9df0a769c
commit d1d7bd7b11
+12 -3
View File
@@ -3,6 +3,7 @@
#if !defined(XBOX) #if !defined(XBOX)
#define HAVE_FFMPEG #define HAVE_FFMPEG
#define HAVE_CRYPTOPP
#endif #endif
#if defined(__MINGW32__) #if defined(__MINGW32__)
@@ -135,14 +136,22 @@ inline int lrintf( float f )
/* We implement the crash handler interface (though that interface isn't completely /* We implement the crash handler interface (though that interface isn't completely
* uniform across platforms yet). */ * uniform across platforms yet). */
#if defined(_XBOX) #if !defined(_XBOX)
// no crash handler on Xbox
#else
#define CRASH_HANDLER #define CRASH_HANDLER
#endif #endif
#define ENDIAN_LITTLE #define ENDIAN_LITTLE
#if defined(_XBOX)
#if defined(_DEBUG)
#define XIPH_LIB_DIR "vorbis/xbox/debug/"
#else
#define XIPH_LIB_DIR "vorbis/xbox/release/"
#endif
#else
#define XIPH_LIB_DIR "vorbis/win32/"
#endif
#if defined(XBOX) #if defined(XBOX)
#include "ArchUtils/Xbox/arch_setup.h" #include "ArchUtils/Xbox/arch_setup.h"
#endif #endif