From 3c221c50884ca9e7afd27901d3bd719848562a37 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sat, 28 Feb 2004 17:23:22 +0000 Subject: [PATCH] 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 --- src/common/intl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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"