diff options
Diffstat (limited to 'sqwebmail/strftime.h')
| -rw-r--r-- | sqwebmail/strftime.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sqwebmail/strftime.h b/sqwebmail/strftime.h new file mode 100644 index 0000000..f111517 --- /dev/null +++ b/sqwebmail/strftime.h @@ -0,0 +1,23 @@ +/* + */ +#ifndef strftime_h +#define strftime_h 1 + +#include <time.h> + +#if HAVE_LOCALE_H +#if HAVE_SETLOCALE +#if HAVE_SQWEBMAIL_UNICODE +#if USE_LIBCHARSET || HAVE_LANGINFO_CODESET + +extern size_t strftime_unicode(char *, size_t, const char *, const struct tm *); + +#define strftime(s,max,fmt,tm) strftime_unicode(s,max,fmt,tm) + +#endif +#endif +#endif +#endif + +#endif + |
