summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2020-07-08 12:54:56 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2020-07-08 12:54:56 -0300
commit0450911a3e1c00246bcfa941d18f430b88d0e176 (patch)
treecb007d7a0a75377270c80676425b0c72ae5e68f5
parent1d1e0fd1052788c1eaec4b03026d441ad8a031f6 (diff)
downloadPSP.git-0450911a3e1c00246bcfa941d18f430b88d0e176.tar.gz
PSP.git-0450911a3e1c00246bcfa941d18f430b88d0e176.tar.xz
PSP.git-0450911a3e1c00246bcfa941d18f430b88d0e176.zip
Fix the include of wingdi.h in Linux build
-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(); }