* use default configure options to find threadsafe locale
[citadel.git] / webcit / fmt_date.c
index 13a4eb9286f6c012a0b0a433f3120926b0da93ff..26f3cc0fe6d9896f7c7fd452140e98603d85140d 100644 (file)
@@ -21,7 +21,8 @@ typedef unsigned char byte;
  */
 size_t wc_strftime(char *s, size_t max, const char *format, const struct tm *tm)
 {
-#ifdef ENABLE_NLS
+
+#ifdef HAVE_USELOCALE
        if (wc_locales[WC->selected_language] == NULL) {
                return strftime(s, max, format, tm);
        }