Mercurial > retraceit
diff src/strhelp.c @ 112:9daf778feaf1 1.4
Fix usage of WIN32 macro. With c++11 this is no longer set.
_WIN32 is the better macro to use anyway.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 08 Dec 2016 15:34:07 +0100 |
parents | 64a51a42c01f |
children |
line wrap: on
line diff
--- a/src/strhelp.c Thu Dec 08 15:25:08 2016 +0100 +++ b/src/strhelp.c Thu Dec 08 15:34:07 2016 +0100 @@ -18,7 +18,7 @@ #include <string.h> #include <assert.h> -#ifdef WIN32 +#ifdef _WIN32 #include <windows.h> #endif @@ -194,7 +194,7 @@ return ret; } -#ifdef WIN32 +#ifdef _WIN32 /* Adapted from GPGOL rev. e512053 */ char * wchar_to_utf8 (const wchar_t *string, size_t len)