#if definde/#endifのネストの外に >#define CTIME( c, b, l ) ctime( c ) を加えて解決。
mozilla/directory/c-sdk/ldap/libraries/libldap/tmplout.c ----- #if defined(OSF1) #if defined(CTIME) #undef CTIME #define CTIME( c, b, l ) ctime( c ) #endif #endif
#if defined(LINUX2_0) || defined(LINUX2_1) #if defined(CTIME) #undef CTIME #define CTIME( c, b, l ) ctime( c ) #endif #endif
/* This is totally lame, since it should be coming from time.h, but isn't. */ #if defined(SOLARIS) char *ctime_r(const time_t *, char *, int); #endif -----