hpux10 has gmtime_r with wrong return type, breaking asn.1 encoder
authorKen Raeburn <raeburn@mit.edu>
Fri, 4 Mar 2005 23:50:45 +0000 (23:50 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 4 Mar 2005 23:50:45 +0000 (23:50 +0000)
commit39c4fe7e342e6da5599adcbe91d10d18afd3a863
tree41c6bcc599ead8120b19af14457addc6f237ac13
parent837b787f59adbf4f92fff364a5bfc6979a038686
hpux10 has gmtime_r with wrong return type, breaking asn.1 encoder

The hpux10 gmtime_r returns int (0 means success), whereas the POSIX
gmtime_r returns a pointer (NULL means failure).

* configure.in: Check return type of gmtime_r, and define GMTIME_R_RETURNS_INT
if it returns int.  If the return type can't be determined, pretend the
function isn't there.

ticket: new
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17117 dc483132-0cff-0310-8789-dd5450dbe970
src/include/ChangeLog
src/include/configure.in