define NOMINMAX to fix VCPP warnings references #203
reported by KHeresy
This commit is contained in:
1 parent
8966c88d2f
commit
b23c7fd93a
1 file changed
+5
@@ -32,5 +32,10 @@
|
||||
* This header contains any platform specific preprocessor adjustments that
|
||||
* don't fit somewhere else better.
|
||||
*/
|
||||
|
||||
#if defined(WIN32)
|
||||
// don't define min and max macros that conflict with std::min and std::max
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
#endif // WEBSOCKETPP_COMMON_PLATFORMS_HPP
|
||||
Reference in new issue
Block a user