Browse Source

external: don't define WIN32_LEAN_AND_MEAN just for shits and giggles.

We're not including windows.h there (fortunately!), so there's no point
in defining such a macro. Also the proper way would be defining it only
if it's not already defined to avoid macro redefinition warnings.
euler-xxx
Vladimír Vondruš 5 years ago
parent
commit
46d8f25363
  1. 1
      src/MagnumExternal/OpenGL/GL/flextGL.h
  2. 1
      src/MagnumExternal/OpenGL/GL/flextGL.h.template
  3. 1
      src/MagnumExternal/OpenGL/GLES2/flextGL.h
  4. 1
      src/MagnumExternal/OpenGL/GLES2/flextGL.h.template
  5. 1
      src/MagnumExternal/OpenGL/GLES3/flextGL.h
  6. 1
      src/MagnumExternal/OpenGL/GLES3/flextGL.h.template

1
src/MagnumExternal/OpenGL/GL/flextGL.h vendored

@ -80,7 +80,6 @@ void flextGLInit(Magnum::GL::Context& context);
#endif
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
#define WIN32_LEAN_AND_MEAN 1
#ifndef WINAPI
#define WINAPI __stdcall
#endif

1
src/MagnumExternal/OpenGL/GL/flextGL.h.template vendored

@ -81,7 +81,6 @@ void flextGLInit(Magnum::GL::Context& context);
#endif
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
#define WIN32_LEAN_AND_MEAN 1
#ifndef WINAPI
#define WINAPI __stdcall
#endif

1
src/MagnumExternal/OpenGL/GLES2/flextGL.h vendored

@ -67,7 +67,6 @@ void flextGLInit(Magnum::GL::Context& context);
#endif
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
#define WIN32_LEAN_AND_MEAN 1
#ifndef WINAPI
#define WINAPI __stdcall
#endif

1
src/MagnumExternal/OpenGL/GLES2/flextGL.h.template vendored

@ -68,7 +68,6 @@ void flextGLInit(Magnum::GL::Context& context);
#endif
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
#define WIN32_LEAN_AND_MEAN 1
#ifndef WINAPI
#define WINAPI __stdcall
#endif

1
src/MagnumExternal/OpenGL/GLES3/flextGL.h vendored

@ -72,7 +72,6 @@ void flextGLInit(Magnum::GL::Context& context);
#endif
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
#define WIN32_LEAN_AND_MEAN 1
#ifndef WINAPI
#define WINAPI __stdcall
#endif

1
src/MagnumExternal/OpenGL/GLES3/flextGL.h.template vendored

@ -73,7 +73,6 @@ void flextGLInit(Magnum::GL::Context& context);
#endif
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
#define WIN32_LEAN_AND_MEAN 1
#ifndef WINAPI
#define WINAPI __stdcall
#endif

Loading…
Cancel
Save