Browse Source

Merge pull request #130 from Whitetigerswt/master

Fix build warning with Boost::asio
yhirose 7 năm trước cách đây
mục cha
commit
6afe7f164e
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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>