IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 25, 2006, 10:04:16 AM (20 years ago)
Author:
rhl
Message:

<time.h> fails to define gmtime_r on os/x 10.4.6 due to an apparent
confusion over testing POSIX_SOURCE. The symbol APPLE in this
workaround is defined in

http://developer.apple.com/technotes/tn2002/tn2071.html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psTime.h

    r7961 r8595  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.48 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2006-07-25 01:16:04 $
     13 *  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2006-08-25 20:04:16 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2828#include "psLookupTable.h"
    2929#include "psCoord.h"
     30
     31#if defined(__APPLE__)   // incorrectly missing in time.h
     32struct tm *gmtime_r(const time_t *, struct tm *);
     33#endif
    3034
    3135struct psSphere;
Note: See TracChangeset for help on using the changeset viewer.