mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-04 11:12:20 +00:00
add new platform headers to simplify including windows/posix headers
This commit is contained in:
1 parent
ab1edbf537
commit
360e01d824
7 files changed
+63
No files matched your search
@@ -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
|
||||
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef _WINDOWS
|
||||
|
||||
#include <WinSock2.h>
|
||||
|
||||
#endif // _WINDOWS
|
||||
Reference in new issue
Block a user