From 72ec482a3ef02fb2946d1245b0a9a0f3facbd806 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Mon, 25 Apr 2011 21:38:13 -0700 Subject: [PATCH] Do not build these as part of plClient. --- Sources/Plasma/PubUtilLib/plAudioCore/plWavFile.cpp | 4 ++++ Sources/Plasma/PubUtilLib/plAudioCore/plWavFile.h | 2 ++ 2 files changed, 6 insertions(+) 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