summaryrefslogtreecommitdiff
path: root/include/GL/mesa_wgl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/GL/mesa_wgl.h')
-rw-r--r--include/GL/mesa_wgl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/GL/mesa_wgl.h b/include/GL/mesa_wgl.h
index a331bb3514..21473763ed 100644
--- a/include/GL/mesa_wgl.h
+++ b/include/GL/mesa_wgl.h
@@ -32,7 +32,7 @@
#define _mesa_wgl_h_
-#include <gl/gl.h>
+#include <GL/gl.h>
#ifdef __cplusplus
extern "C" {
@@ -40,10 +40,10 @@ extern "C" {
#if !defined(OPENSTEP) && (defined(__WIN32__) || defined(__CYGWIN32__))
-# if defined(_MSC_VER) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */
+# if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */
# define GLAPI __declspec(dllexport)
# define WGLAPI __declspec(dllexport)
-# elif defined(_MSC_VER) && defined(_DLL) /* tag specifying we're building for DLL runtime support */
+# elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) /* tag specifying we're building for DLL runtime support */
# define GLAPI __declspec(dllimport)
# define WGLAPI __declspec(dllimport)
# else /* for use with static link lib build of Win32 edition only */