diff options
Diffstat (limited to 'client/libacron/private/helpers.c')
-rw-r--r-- | client/libacron/private/helpers.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/client/libacron/private/helpers.c b/client/libacron/private/helpers.c index 0cb452b..a859e80 100644 --- a/client/libacron/private/helpers.c +++ b/client/libacron/private/helpers.c @@ -12,7 +12,7 @@ #include <errno.h> #include <stdio.h> -#ifdef WIN32 +#ifdef _WIN32 #include <windows.h> #endif @@ -53,14 +53,14 @@ int strdup2(const char *str, char **out) { return AC_E_OK; } -#ifdef WIN32 +#ifdef _WIN32 static _Thread_local LPTSTR err_buf = NULL; #else static _Thread_local char err_buf[1024]; #endif char *strerror2(int errnum) { -#ifdef WIN32 +#ifdef _WIN32 if (err_buf) { LocalFree(err_buf); err_buf = NULL; @@ -88,10 +88,10 @@ char *strerror2(int errnum) { } void helpers_cleanup(void) { -#ifdef WIN32 +#ifdef _WIN32 if (err_buf) { LocalFree(err_buf); err_buf = NULL; } #endif -}
\ No newline at end of file +} |