diff --git a/components/openmw-mp/Utils.hpp b/components/openmw-mp/Utils.hpp index 50bbb37ad..78bf99c8a 100644 --- a/components/openmw-mp/Utils.hpp +++ b/components/openmw-mp/Utils.hpp @@ -8,7 +8,11 @@ #include #include -#ifdef _WIN32 +#if (defined __WIN32__ || defined _WIN32 || defined WIN32) +#define __WINDOWS +#endif + +#ifdef __WINDOWS int setenv(const char *name, const char *value, int overwrite); #endif