Browse Source

Fix build error with Boost::asio

Whitetiger 7 năm trước cách đây
mục cha
commit
787761a7bf
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>