- HAS_TIMEGM
- Defined if your system has timegm()
-
- HAS_TM_TM_GMTOFF
- Defined if your tm struct has a "tm_gmtoff" element.
-
- HAS_TM_TM_ZONE
- Defined if your tm struct has a "tm_zone" element.
-
- SYSTEM_LOCALTIME_MAX
- SYSTEM_LOCALTIME_MIN
- SYSTEM_GMTIME_MAX
- SYSTEM_GMTIME_MIN
- Maximum and minimum values your system's gmtime() and localtime()
- can handle.
-
- USE_SYSTEM_LOCALTIME
- USE_SYSTEM_GMTIME
- Should we use the system functions if the time is inside their range?
-
- USE_TM64
- Should we use a 64 bit safe tm struct which can handle a
- year range greater than 2 billion?
-*/
-
-#define SYSTEM_LOCALTIME_MAX LOCALTIME_MAX
-#define SYSTEM_LOCALTIME_MIN LOCALTIME_MIN
-#define SYSTEM_GMTIME_MAX GMTIME_MAX
-#define SYSTEM_GMTIME_MIN GMTIME_MIN
-
-/* It'll be faster */
-#define USE_SYSTEM_LOCALTIME 1
-#define USE_SYSTEM_GMTIME 1
-
-/* Let's get all the time */
-#define USE_TM64
-
-#ifdef USE_TM64
-#define TM TM64
-#else
-#define TM tm
-#endif
-
-/* 64 bit types. Set as appropriate for your system. */
-typedef Quad_t Time64_T;
-typedef Quad_t Int64;
-typedef Int64 Year;
-
-struct TM *gmtime64_r (const Time64_T *, struct TM *);
-struct TM *localtime64_r (const Time64_T *, struct TM *);
-Time64_T timegm64 (struct TM *);