Changeset 3516


Ignore:
Timestamp:
2002-11-05T18:09:35+13:00 (21 years ago)
Author:
jrm21
Message:

Apparently darwin doesn't define BSD by default, so we now instead check
for MACH and APPLE to be defined instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/lib/gsdltimes.cpp

    r3424 r3516  
    122122  /* This is for darwin - mktime seems to use this, so don't leave it
    123123     uninitialised!! Maybe the same on freebsd/netbsd?
    124      I read somewhere that APOLLO and AUX #define BSD but don't have this,
    125      however that was dated 1995...
    126124  */
    127 #if defined(BSD)
     125#if defined(__MACH__) && defined(__APPLE__)
    128126  timetm.tm_gmtoff=0;
    129127#endif
Note: See TracChangeset for help on using the changeset viewer.