mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-03 13:41:06 +00:00
Merge pull request #728 from significant-bit/win32-lean
use WIN32_LEAN_AND_MEAN properly
This commit is contained in:
commit
84ff9d3604
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user