Remove ENABLE_NLS definition. Either we HAVE_USELOCALE or we don't translate at...
[citadel.git] / webcit / fmt_date.c
index 15e5673ca25756813f6529f6fff6d6aa4e21bb5e..7979ecf585efec511d573c8c63ee795739b035fe 100644 (file)
@@ -40,7 +40,6 @@ 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);
@@ -51,9 +50,6 @@ size_t wc_strftime(char *s, size_t max, const char *format, const struct tm *tm)
 #else
        return strftime(s, max, format, tm);
 #endif
-#else
-       return strftime(s, max, format, tm);
-#endif
 }