Added NOMINMAX to stop confusion with windows.h

This commit is contained in:
Javidx9 2018-09-09 16:10:58 +01:00 committed by GitHub
parent 94079a415f
commit 8e2fda5bea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ Part #2 https://youtu.be/ebq7L2Wtbl4
Author Author
~~~~~~ ~~~~~~
David Barr, aka javidx9, ©OneLoneCoder 2018 David Barr, aka javidx9, ©OneLoneCoder 2018
*/ */
@ -68,6 +68,7 @@ David Barr, aka javidx9,
#include <algorithm> #include <algorithm>
using namespace std; using namespace std;
#define NOMINMAX
#include "olcPixelGameEngine.h" #include "olcPixelGameEngine.h"
struct sBall struct sBall