summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-03-16 10:29:26 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-03-16 10:29:26 +0100
commit41cfcb26c4ecbcfae6f9648dd3eec53902219d77 (patch)
treeb2774013903b8d43b2f0ad68bc9f6676637559cd
parent45522916d3ad443d45d1c43ed0c4245c53e44a4d (diff)
some compilers have trouble with this (nw)
-rw-r--r--src/osd/modules/opengl/osd_opengl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/modules/opengl/osd_opengl.h b/src/osd/modules/opengl/osd_opengl.h
index 3e9adbb010c..829cad43bf5 100644
--- a/src/osd/modules/opengl/osd_opengl.h
+++ b/src/osd/modules/opengl/osd_opengl.h
@@ -91,8 +91,6 @@
#ifdef _MSC_VER
extern "C" {
-#else
- {
#endif
struct osd_gl_dispatch
{
@@ -100,7 +98,9 @@
#include "osd_opengl.h"
#undef GET_GLFUNC
};
- }
+#ifdef _MSC_VER
+ }
+#endif
#undef OSD_GL
#undef OSD_GL_UNUSED