* this doesn't look smart, but the CPP doesn't offer a better way: we need to have...
authorWilfried Göesgens <willi@citadel.org>
Sun, 11 May 2008 20:21:07 +0000 (20:21 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 11 May 2008 20:21:07 +0000 (20:21 +0000)
webcit/fmt_date.c

index 9adb0c63efbdef57720c316fdbfb346790b35c24..05b9900fdc051e2f94c6742ce4657a19d1a9495d 100644 (file)
@@ -30,6 +30,8 @@ size_t wc_strftime(char *s, size_t max, const char *format, const struct tm *tm)
        else { // TODO: this gives empty strings on debian.
                return strftime_l(s, max, format, tm, wc_locales[WC->selected_language]);
        }
+#else
+       return strftime(s, max, format, tm);
 #endif
 #else
        return strftime(s, max, format, tm);