summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d6ebd0415..4054ae603 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 composed characters...
// initialize the list of legal characters inside a floating point number
-#if defined(HAVE_LOCALECONV) && defined(HAVE_LOCALE_H)
+#if defined(HAVE_LOCALECONV)
if (!legal_fp_chars) {
size_t len = strlen(standard_fp_chars);
struct lconv *lc = localeconv();