summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Project/OpenGLText.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Project/OpenGLText.cpp b/Project/OpenGLText.cpp
index 54cad88..f877afa 100644
--- a/Project/OpenGLText.cpp
+++ b/Project/OpenGLText.cpp
@@ -19,7 +19,9 @@
#include <wx/graphics.h>
#include "OpenGLText.h"
#include <algorithm>
+#ifdef __WINDOWS__
#include <wingdi.h>
+#endif
#include <cmath>
OpenGLText::OpenGLText() { Init(); }