Compiles on UNIX based systems
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
// Platform specific includes //
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32)
|
||||
#define NOMINMAX
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <Windows.h>
|
||||
#elif defined(__unix__)
|
||||
// No platform specific includes are needed for UNIX based systems //
|
||||
#else
|
||||
#error "Code is currently only supported on Win32"
|
||||
#endif // _WIN32
|
||||
#error "OS is not supported"
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user