summaryrefslogtreecommitdiffstats
path: root/sqwebmail/strftime.h
blob: f1115174f29b303d1f3e4973154da07ae597a8ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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