diff --git a/Sources/Plasma/PubUtilLib/plAudioCore/plWavFile.cpp b/Sources/Plasma/PubUtilLib/plAudioCore/plWavFile.cpp index 4dd0724e..d5784c0e 100644 --- a/Sources/Plasma/PubUtilLib/plAudioCore/plWavFile.cpp +++ b/Sources/Plasma/PubUtilLib/plAudioCore/plWavFile.cpp @@ -26,6 +26,8 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include #include "plWavFile.h" +#ifdef MAXPLUGINCODE + #ifdef DX_OLD_SDK #include #else @@ -1091,3 +1093,5 @@ public: }; #endif + +#endif //MAXPLUGINCODE diff --git a/Sources/Plasma/PubUtilLib/plAudioCore/plWavFile.h b/Sources/Plasma/PubUtilLib/plAudioCore/plWavFile.h index 6d36cdf7..ea772668 100644 --- a/Sources/Plasma/PubUtilLib/plAudioCore/plWavFile.h +++ b/Sources/Plasma/PubUtilLib/plAudioCore/plWavFile.h @@ -26,6 +26,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #ifndef plWavFile_H #define plWavFile_H +#ifdef MAXPLUGINCODE #define WAVEFILE_READ 1 #define WAVEFILE_WRITE 2 @@ -110,5 +111,6 @@ protected: HRESULT WriteMMIO( WAVEFORMATEX *pwfxDest ); HRESULT IClose(); }; +#endif //MAXPLUGINCODE #endif // plWavFile_H