This website works better with JavaScript.
Home
Help
Sign In
lolengine
/
lol
mirror of
https://github.com/lolengine/lol
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
net: fix a Windows compilation issue.
legacy
Sam Hocevar
4 years ago
parent
a1e258656e
commit
8c37ce1497
1 changed files
with
9 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
src/net/http.cpp
+ 9
- 0
src/net/http.cpp
View File
@@ -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
Write
Preview
Loading…
Cancel
Save