Previous 199869 Revisions Next

r36441 Monday 16th March, 2015 at 04:06:36 UTC by Peter Ferrie
osd_opengl.h: fix compile on MSVC 2012 (nw)
[src/osd/modules/opengl]osd_opengl.h

trunk/src/osd/modules/opengl/osd_opengl.h
r244952r244953
8989   #define OSD_GL(ret,func,params) ret (APIENTRY *func) params;
9090   #define OSD_GL_UNUSED(ret,func,params)
9191
92   struct osd_gl_dispatch
92#ifdef _MSC_VER
93   extern "C" {
94#else
9395   {
94      #define GET_GLFUNC 1
95      #include "osd_opengl.h"
96      #undef GET_GLFUNC
97   };
96#endif
97      struct osd_gl_dispatch
98      {
99         #define GET_GLFUNC 1
100         #include "osd_opengl.h"
101         #undef GET_GLFUNC
102      };
103   }
98104
99105   #undef OSD_GL
100106   #undef OSD_GL_UNUSED
101107
108#ifdef _MSC_VER
109   extern "C" osd_gl_dispatch *gl_dispatch;
110#endif
102111   extern osd_gl_dispatch *gl_dispatch;
103112
104113   /*


Previous 199869 Revisions Next


© 1997-2024 The MAME Team