diff --git a/Frameworks/vgmstream/vgmstream/src/vgmstream.h b/Frameworks/vgmstream/vgmstream/src/vgmstream.h index ff47785be..4be6821a8 100644 --- a/Frameworks/vgmstream/vgmstream/src/vgmstream.h +++ b/Frameworks/vgmstream/vgmstream/src/vgmstream.h @@ -18,12 +18,19 @@ enum { PATH_LIMIT = 32768 }; //#define VGM_USE_G7221 #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 +49,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 {