X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c76b647492dce0f5624219a3f42edb6bbcee0069..f925e7b4f3d017b33749bd23a64592c1985e8f98:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 03bd63e27b..6e9a036564 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -28,6 +28,12 @@ #pragma option -O1 #endif +#ifdef __EMX__ +// The following define is needed by Innotek's libc to +// make the definition of struct localeconv available. +#define __INTERNAL_DEFS +#endif + // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -1370,7 +1376,7 @@ wxLanguageInfoArray *wxLocale::ms_languagesDB = NULL; } -wxLocale::wxLocale() +void wxLocale::DoCommonInit() { m_pszOldLocale = NULL; m_pMsgCat = NULL;