diff options
author | 2015-04-01 10:27:34 +0200 | |
---|---|---|
committer | 2015-04-01 10:27:34 +0200 | |
commit | ec0553414d51263e1759e927a77fde73ac8ccb17 (patch) | |
tree | ff2a727c1a6c80bc80841946a649fc49c87bbdf5 | |
parent | ab50ffac9d5564244ccfdfdbb568a44c00ff3098 (diff) |
MSVC build fix (nw)
-rw-r--r-- | scripts/src/osd/windows.lua | 9 | ||||
-rw-r--r-- | src/osd/modules/opengl/osd_opengl.h | 6 |
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) |