http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47802
Jeffrey A. Law <law at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at redhat dot com --- Comment #1 from Jeffrey A. Law <law at redhat dot com> 2011-02-18 19:53:35 UTC --- Is there no way to get a posix compliant ctime? Alternatively, we'll need autoconf magic to detect the extra arg. I know at one time it was relatively common, so autoconf magic might be around somewhere. Assuming it is you just have to do something like #if defined (oddballctime) *date = ctime_r (&now, cbuf, CSZ); #else *date = ctime_r (&now, cbuf); #endif