Skip to content

Commit a5287b6

Browse files
committedJan 15, 2014
Fix building with MinGW
1 parent 84bbe1e commit a5287b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/httpfetch.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
2525
#include <list>
2626
#include <map>
2727
#include <errno.h>
28-
#ifndef _MSC_VER
28+
#ifndef _WIN32
2929
#include <sys/utsname.h>
3030
#endif
3131
#include "jthread/jevent.h"
@@ -51,7 +51,7 @@ std::map<unsigned long, std::list<HTTPFetchResult> > g_httpfetch_results;
5151
connect_timeout = timeout * 5;
5252

5353
useragent = std::string("Minetest ") + minetest_version_hash;
54-
#ifdef _MSC_VER
54+
#ifdef _WIN32
5555
useragent += "Windows";
5656
#else
5757
struct utsname osinfo;

0 commit comments

Comments
 (0)
Please sign in to comment.