Added NOMINMAX before windows.h

This commit is contained in:
Javidx9
2018-09-03 23:43:14 +01:00
committed by GitHub
parent fb45b9bcdc
commit 16b1619dda
2 changed files with 5 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
olcPixelGameEngine.h
+-------------------------------------------------------------+
| OneLoneCoder Pixel Game Engine v0.3 |
| OneLoneCoder Pixel Game Engine v0.4 |
| "Like the command prompt console one, but not..." - javidx9 |
+-------------------------------------------------------------+
@@ -143,6 +143,7 @@
// Include WinAPI
#define NOMINMAX
#include <windows.h>
#include <gdiplus.h>
@@ -413,7 +414,7 @@ namespace olc // All OneLoneCoder stuff will now exist in the "olc" namespace