Merge pull request #728 from significant-bit/win32-lean

use WIN32_LEAN_AND_MEAN properly
This commit is contained in:
Jeremy Cowles 2015-09-20 22:36:25 -07:00
commit 84ff9d3604
3 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,7 @@
#include "clDeviceContext.h"
#if defined(_WIN32)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#elif defined(__APPLE__)
#include <OpenGL/OpenGL.h>

View File

@ -25,6 +25,7 @@
#include "cudaDeviceContext.h"
#if defined(_WIN32)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#elif defined(__APPLE__)
#include <OpenGL/OpenGL.h>

View File

@ -40,7 +40,7 @@
#include <GLES2/gl2.h>
#else
#if defined(_WIN32)
#define W32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
#if defined(OSD_USES_GLEW)