diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-07-08 12:54:56 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2020-07-08 12:54:56 -0300 |
commit | 0450911a3e1c00246bcfa941d18f430b88d0e176 (patch) | |
tree | cb007d7a0a75377270c80676425b0c72ae5e68f5 | |
parent | 1d1e0fd1052788c1eaec4b03026d441ad8a031f6 (diff) | |
download | PSP.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.cpp | 2 |
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(); } |