commit e344c744a69d3716f72f8b9a6a9a15aeb1a5573d parent 04e29ce79860252ca724b5414585f6bab786765b Author: Michael Savage <mikejsavage@gmail.com> Date: Sat Nov 19 18:25:12 +0200 WIN32_LEAN_AND_MEAN in build.bat Diffstat:
build.bat | | | 2 | +- |
platform_io.h | | | 1 | - |
diff --git a/build.bat b/build.bat @@ -1,7 +1,7 @@ set INCLUDE=C:\Program Files\Microsoft Visual Studio 12.0\VC\include;C:\Program Files\Windows Kits\8.1\Include\shared;C:\Program Files\Windows Kits\8.1\Include\um;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include;C:\Program Files (x86)\Windows Kits\8.1\Include\shared;C:\Program Files (x86)\Windows Kits\8.1\Include\um set LIB=C:\Program Files\Microsoft Visual Studio 12.0\VC\LIB;C:\Program Files\Microsoft Visual Studio 12.0\VC\ATLMFC\LIB;C:\Program Files\Windows Kits\8.1\lib\winv6.3\um\x86;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\ATLMFC\LIB;C:\Program Files (x86)\Windows Kits\8.1\lib\winv6.3\um\x86 set PATH=C:\Program Files\Microsoft Visual Studio 12.0\VC\bin;C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin;%PATH% -set FLAGS=-I include -Z7 -Zo -W4 -Oi -Gm- -GR- -EHa- -nologo -MTd -Od -wd4100 -wd4201 -wd4189 -wd4505 -wd4127 -wd4530 -wd4702 -D_CRT_SECURE_NO_WARNINGS -DNOMINMAX -D_USE_MATH_DEFINES +set FLAGS=-I include -Z7 -Zo -W4 -Oi -Gm- -GR- -EHa- -nologo -MTd -Od -wd4100 -wd4201 -wd4189 -wd4505 -wd4127 -wd4530 -wd4702 -D_CRT_SECURE_NO_WARNINGS -DNOMINMAX -D_USE_MATH_DEFINES -DWIN32_LEAN_AND_MEAN REM -DGLAD_GLAPI_EXPORT set EXELIBS=glfw3dll.lib user32.lib shell32.lib opengl32.lib gdi32.lib set EXEFLAGS=%EXELIBS% %FLAGS% diff --git a/platform_io.h b/platform_io.h @@ -2,7 +2,6 @@ #define _PLATFORM_IO_H_ #if defined( _WIN32 ) -#define WIN32_LEAN_AND_MEAN #include <windows.h> #define mkdir( path, mode ) ( CreateDirectory( path, NULL ) ? 0 : -1 )