summaryrefslogtreecommitdiff
path: root/src/Fl_Input.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-04-17 17:45:44 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-04-17 17:45:44 +0000
commite2495a760a7c5987724467923b9beb57c50ccfeb (patch)
treeea46433ed29b0f33199080e199f6fafcd2fb2913 /src/Fl_Input.cxx
parentcdf85352c42dd2f3b43703897148e8fa513c9cdc (diff)
MSWindows fixes for previous commits.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Input.cxx')
-rw-r--r--src/Fl_Input.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Input.cxx b/src/Fl_Input.cxx
index d6b8b3886..205babaf3 100644
--- a/src/Fl_Input.cxx
+++ b/src/Fl_Input.cxx
@@ -316,7 +316,7 @@ int Fl_Input::handle_key() {
Fl::compose_reset(); // ignore any foreign letters...
// initialize the list of legal characters inside a floating point number
-#ifdef HAVE_LOCALECONV
+#if defined(HAVE_LOCALECONV) && defined(HAVE_LOCALE_H)
if (!legal_fp_chars) {
size_t len = strlen(standard_fp_chars);
struct lconv *lc = localeconv();