From: Stefan Neis Date: Sat, 28 Feb 2004 17:23:22 +0000 (+0000) Subject: Compilation fix for OS/2 specific "Innotek gcc" port. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3c221c50884ca9e7afd27901d3bd719848562a37 Compilation fix for OS/2 specific "Innotek gcc" port. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 03bd63e27b..49a022525d 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"