diff --git a/src/util/u_string.h b/src/util/u_string.h index 8fead06b627..da2bdbd8938 100644 --- a/src/util/u_string.h +++ b/src/util/u_string.h @@ -118,11 +118,11 @@ util_asprintf(char **str, const char *fmt, ...) #define strdup _strdup -#if defined(_WIN32) && !defined(HAVE_STRTOK_R) +#if !defined(HAVE_STRTOK_R) #define strtok_r strtok_s #endif -#endif +#endif /* _WIN32 */ #ifdef __cplusplus