mal-packet-weaver
C++20 packet serialization/deserialization library.
Loading...
Searching...
No Matches
win-undef.hpp
Go to the documentation of this file.
1#if defined(_WIN32)
6#ifdef min
7#define UNDEFINED_MIN
8#pragma push_macro("min")
9#undef min
10#endif
11
12#ifdef max
13#define UNDEFINED_MAX
14#pragma push_macro("max")
15#undef max
16#endif
17
18#ifdef near
19#define UNDEFINED_NEAR
20#pragma push_macro("near")
21#undef near
22#endif
23
24#ifdef far
25#define UNDEFINED_FAR
26#pragma push_macro("far")
27#undef far
28#endif
29#endif