utilities: always include wx/crt.h on Linux

The header is necessary if the wx3.0 package isn't compiled with
wx2.8 backwards compatibility.
This commit is contained in:
Jonathan Li 2016-04-23 00:09:37 +01:00
parent dda44519c1
commit 5035c8bd48
1 changed files with 2 additions and 2 deletions

View File

@ -182,9 +182,9 @@ public:
#include <wx/string.h> #include <wx/string.h>
#include <wx/intl.h> #include <wx/intl.h>
#include <wx/log.h> #include <wx/log.h>
#if defined(_WIN32) && wxMAJOR_VERSION >= 3
#include <wx/crt.h> #include <wx/crt.h>
#if defined(_WIN32)
// This deals with a mode_t redefinition conflict. The mode_t doesn't seem to be // 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 // used anywhere in w32pthreads, so I've chosen to use the wxWidgets mode_t
// (I think it's unsigned int vs signed int) // (I think it's unsigned int vs signed int)