Always include locale.h to get LC_ALL declaration.
For some reason locale.h was only included in !wxUSE_STD_STRING case but we actually always need it as we use LC_ALL in this file and at least in Sun CC build it wasn't included from anywhere else so include it from here to fix the build. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,9 +21,7 @@
|
||||
#include "wx/numformatter.h"
|
||||
#include "wx/intl.h"
|
||||
|
||||
#if !wxUSE_STD_STRING
|
||||
#include <locale.h> // for setlocale and LC_ALL
|
||||
#endif
|
||||
#include <locale.h> // for setlocale and LC_ALL
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// local helpers
|
||||
|
Reference in New Issue
Block a user