summaryrefslogtreecommitdiff
path: root/plugingui/testmain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/testmain.cc')
-rw-r--r--plugingui/testmain.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugingui/testmain.cc b/plugingui/testmain.cc
index 07bbe6c..8edfd0a 100644
--- a/plugingui/testmain.cc
+++ b/plugingui/testmain.cc
@@ -24,7 +24,9 @@
* along with DrumGizmo; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-#ifdef WIN32
+#include <platform.h>
+
+#if DG_PLATFORM == DG_PLATFORM_WINDOWS
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif