]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/xlocale.cpp
Remove identic implementations of wxDir::Exists from platform-specific files and...
[wxWidgets.git] / src / common / xlocale.cpp
index 2f71cbc8798575e083c8f0c90fb3e2449aac80ed..24dca049ca66fa89fdc3ba7ce5de8549fb56b30e 100644 (file)
@@ -32,6 +32,7 @@
 #include "wx/xlocale.h"
 
 #include <errno.h>
+#include <locale.h>
 
 // ----------------------------------------------------------------------------
 // module globals
@@ -194,7 +195,7 @@ void wxXLocale::Free()
 #define CTYPE_UPPER 0x0200
 #define CTYPE_XDIGIT 0x0400
 
-static unsigned int gs_lookup[] =
+static const unsigned int gs_lookup[] =
 {
     0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004, 0x0004,
     0x0004, 0x0104, 0x0104, 0x0104, 0x0104, 0x0104, 0x0004, 0x0004,