projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84bbe1e
)
Fix building with MinGW
author
Sfan5
<sfan5@live.de>
Wed, 15 Jan 2014 16:35:00 +0000
(17:35 +0100)
committer
Sfan5
<sfan5@live.de>
Wed, 15 Jan 2014 16:35:00 +0000
(17:35 +0100)
src/httpfetch.cpp
patch
|
blob
|
history
diff --git
a/src/httpfetch.cpp
b/src/httpfetch.cpp
index 3d944735876234645d046de772f2881027fdc215..2b93ade8b846cf1ca65758a80f5b03aaa783b780 100644
(file)
--- a/
src/httpfetch.cpp
+++ b/
src/httpfetch.cpp
@@
-25,7
+25,7
@@
with this program; if not, write to the Free Software Foundation, Inc.,
#include <list>
#include <map>
#include <errno.h>
-#ifndef _
MSC_VER
+#ifndef _
WIN32
#include <sys/utsname.h>
#endif
#include "jthread/jevent.h"
@@
-51,7
+51,7
@@
std::map<unsigned long, std::list<HTTPFetchResult> > g_httpfetch_results;
connect_timeout = timeout * 5;
useragent = std::string("Minetest ") + minetest_version_hash;
-#ifdef _
MSC_VER
+#ifdef _
WIN32
useragent += "Windows";
#else
struct utsname osinfo;