add new platform headers to simplify including windows/posix headers

This commit is contained in:
brainiac
2025-12-18 00:23:57 -08:00
committed by Alex
parent ab1edbf537
commit 360e01d824
7 changed files with 63 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#pragma once
#ifdef _WINDOWS
#ifndef NOMINMAX
#define NOMINMAX
#endif
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <Windows.h>
#ifdef GetCurrentTime
#undef GetCurrentTime
#endif
#ifdef GetClassName
#undef GetClassName
#endif
#endif // _WINDOWS