Ver Fonte

Merge pull request #130 from Whitetigerswt/master

Fix build warning with Boost::asio
yhirose há 7 anos atrás
pai
commit
6afe7f164e
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      httplib.h

+ 2 - 0
httplib.h

@@ -29,7 +29,9 @@
 #define S_ISDIR(m)  (((m)&S_IFDIR)==S_IFDIR)
 #endif //S_ISDIR
 
+#ifndef NOMINMAX
 #define NOMINMAX
+#endif //NOMINMAX
 
 #include <io.h>
 #include <winsock2.h>