git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6744 c06c8d41-db1a-0410-9941-cceddc491573
UJUBPIJKQQOZ5OOAIA2XQE3KQVOCNI7ZH444YIYGQ23RQAGIZGTAC
KLJIFEBICFQ76DNM3MTS2PJ5LTEIOBIW5QZTNW722WHPKIST5UQQC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
GSQ72ULBSL6WBJZUB3GJKAPQDXZIQV7B2TDBA5OP2WVGHVJMCQFQC
RPOZZWKG5GLPHVZZ7ZKMKS64ZMV2LDCQSARBJFJ6FZOTOKCQO7FAC
JQCVEFFILBCGLBRRKJ3EVVDDZFHZ4GCBSXKN3D5ZSQZ4HGDHMCHQC
struct tm *date = localtime( &in_date );
struct tm *date = TIME_FN( &in_date );
if (tm *loc = localtime(&when_crawl_got_even))
if (tm *loc = TIME_FN(&when_crawl_got_even))
struct tm *d1 = localtime( &t1 );
struct tm *d1 = TIME_FN( &t1 );
struct tm *d2 = localtime( &t2 );
struct tm *d2 = TIME_FN( &t2 );
struct tm *date = localtime( &time );
struct tm *date = TIME_FN( &time );
struct tm *ltime = localtime(&curr_time);
struct tm *ltime = TIME_FN(&curr_time);
// Use UTC for dgamelaunch servers. #define TIME_FN gmtime
// Use UTC for dgamelaunch servers.
#define TIME_FN gmtime
#ifndef TIME_FN#define TIME_FN localtime#endif
#ifndef TIME_FN
#define TIME_FN localtime
#endif