From 1e33cabb7a27ed520a6b6744c38970c33fc5aa94 Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Sat, 2 Aug 2014 21:29:00 -0700 Subject: [PATCH] Fixed building again --- Frameworks/vgmstream/vgmstream/src/vgmstream.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/Frameworks/vgmstream/vgmstream/src/vgmstream.h b/Frameworks/vgmstream/vgmstream/src/vgmstream.h index b5a1d29e4..66381848e 100644 --- a/Frameworks/vgmstream/vgmstream/src/vgmstream.h +++ b/Frameworks/vgmstream/vgmstream/src/vgmstream.h @@ -16,14 +16,23 @@ enum { PATH_LIMIT = 32768 }; #define VGM_USE_MPEG /* disabled by default, defined for builds that support it */ //#define VGM_USE_G7221 +//#define VGM_USE_MP4V2 +//#define VGM_USE_FDKAAC #include "streamfile.h" +#ifdef BUILD_VGMSTREAM #include "coding/g72x_state.h" +#else +#include "g72x_state.h" +#endif #ifdef VGM_USE_VORBIS +#ifdef __APPLE__ +#define __MACOSX__ +#endif #include #endif #ifdef VGM_USE_MPEG -#include +#include #endif #ifdef VGM_USE_G7221 #include "g7221.h" @@ -42,8 +51,13 @@ enum { PATH_LIMIT = 32768 }; #include #endif +#ifdef BUILD_VGMSTREAM #include "coding/acm_decoder.h" #include "coding/nwa_decoder.h" +#else +#include "acm_decoder.h" +#include "nwa_decoder.h" +#endif /* The encoding type specifies the format the sound data itself takes */ typedef enum {