Changed code to support Windows libraries and functions as well
This commit is contained in:
15
main.cpp
15
main.cpp
@@ -1,3 +1,18 @@
|
||||
#if defined(_WIN32)
|
||||
#define NOGDI // All GDI defines and routines
|
||||
#define NOUSER // All USER defines and routines
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h> // or any library that uses Windows.h
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if defined(_WIN32) // raylib uses these names as function parameters
|
||||
#undef near
|
||||
#undef far
|
||||
#endif
|
||||
|
||||
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
#include <cstring>
|
||||
|
Reference in New Issue
Block a user