define NOMINMAX to fix VCPP warnings references #203

reported by KHeresy
This commit is contained in:
Peter Thorson committed 2013-05-10 16:08:46 -05:00
1 parent 8966c88d2f
commit b23c7fd93a
1 file changed
+5
+5
View File
@@ -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