diff options
| -rw-r--r-- | include/Platform.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/include/Platform.h b/include/Platform.h index 79be33f6b..98fd7e042 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -33,7 +33,7 @@  #undef PLAT_GTK  #define PLAT_GTK 1 -#ifdef _MSC_VER +#if defined(__WIN32__) || defined(_MSC_VER)  #undef PLAT_GTK_WIN32  #define PLAT_GTK_WIN32 1  #endif @@ -122,7 +122,7 @@ public:  	}  	int Width() { return right - left; }  	int Height() { return bottom - top; } -	bool Empty() {  +	bool Empty() {  		return (Height() <= 0) || (Width() <= 0);  	}  }; | 
