Commit ad13dc67 authored by 's avatar
parent 475ec9b9
...@@ -94,7 +94,10 @@ enum { STDIN_FILENO = 0, STDOUT_FILENO = 1, STDERR_FILENO = 2 }; ...@@ -94,7 +94,10 @@ enum { STDIN_FILENO = 0, STDOUT_FILENO = 1, STDERR_FILENO = 2 };
#define strncasecmp _strnicmp #define strncasecmp _strnicmp
/* In windows-land, hash<> is called hash_compare<> (from xhash.h) */ /* In windows-land, hash<> is called hash_compare<> (from xhash.h) */
/* VC11 provides std::hash */
#if defined(_MSC_VER) && (_MSC_VER < 1700)
#define hash hash_compare #define hash hash_compare
#endif
/* Sleep is in ms, on windows */ /* Sleep is in ms, on windows */
#define sleep(secs) Sleep((secs) * 1000) #define sleep(secs) Sleep((secs) * 1000)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment