summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--scripts/src/osd/windows.lua9
-rw-r--r--src/osd/modules/opengl/osd_opengl.h6
2 files changed, 9 insertions, 6 deletions
diff --git a/scripts/src/osd/windows.lua b/scripts/src/osd/windows.lua
index c1275902d3d..f372375b598 100644
--- a/scripts/src/osd/windows.lua
+++ b/scripts/src/osd/windows.lua
@@ -4,9 +4,12 @@ dofile("modules.lua")
function maintargetosdoptions(_target)
osdmodulestargetconf()
- linkoptions {
- "-municode",
- }
+ configuration { "mingw*" }
+ linkoptions {
+ "-municode",
+ }
+
+ configuration { }
if _OPTIONS["DIRECTINPUT"] == "8" then
links {
diff --git a/src/osd/modules/opengl/osd_opengl.h b/src/osd/modules/opengl/osd_opengl.h
index a0084ebdb6d..0113694951d 100644
--- a/src/osd/modules/opengl/osd_opengl.h
+++ b/src/osd/modules/opengl/osd_opengl.h
@@ -22,9 +22,9 @@
#else
#include "GL/gl.h"
#include "GL/glext.h"
- #endif
- #ifndef USE_DISPATCH_GL
- #include "GL/wglext.h"
+ #ifndef USE_DISPATCH_GL
+ #include "GL/wglext.h"
+ #endif
#endif
#else
#if (SDLMAME_SDL2)