From 8fa8b8d310d39cf53c08bd1ca299dd4de970372d Mon Sep 17 00:00:00 2001 From: Koncord Date: Wed, 3 May 2017 14:44:16 +0800 Subject: [PATCH] [General] Add __WINDOWS define --- components/openmw-mp/Utils.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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