소스 검색

net: fix a Windows compilation issue.

legacy
Sam Hocevar 5 년 전
부모
커밋
8c37ce1497
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. +9
    -0
      src/net/http.cpp

+ 9
- 0
src/net/http.cpp 파일 보기

@@ -16,6 +16,15 @@
# define CPPHTTPLIB_OPENSSL_SUPPORT 1
#endif

#if _WIN32
# define WIN32_LEAN_AND_MEAN 1
# include <windows.h>
# undef NEAR // avoids errors in <inaddr.h>
# undef FAR
# define NEAR
# define FAR
#endif

#if __EMSCRIPTEN__
# include <emscripten/fetch.h>
#else


불러오는 중...
취소
저장