diff --git a/common/include/Utilities/Dependencies.h b/common/include/Utilities/Dependencies.h index 80733a2676..2ef212067c 100644 --- a/common/include/Utilities/Dependencies.h +++ b/common/include/Utilities/Dependencies.h @@ -182,9 +182,9 @@ public: #include #include #include - -#if defined(_WIN32) && wxMAJOR_VERSION >= 3 #include + +#if defined(_WIN32) // This deals with a mode_t redefinition conflict. The mode_t doesn't seem to be // used anywhere in w32pthreads, so I've chosen to use the wxWidgets mode_t // (I think it's unsigned int vs signed int)