BRL-CAD
time64_limits.h
Go to the documentation of this file.
1 /*
2  Maximum and minimum inputs your system's respective time functions
3  can correctly handle. time64.h will use your system functions if
4  the input falls inside these ranges and corresponding USE_SYSTEM_*
5  constant is defined.
6 */
7 
8 #ifndef TIME64_LIMITS_H
9 #define TIME64_LIMITS_H
10 
11 /* Max/min for localtime() */
12 #define SYSTEM_LOCALTIME_MAX 2147483647
13 #define SYSTEM_LOCALTIME_MIN -2147483647-1
14 
15 /* Max/min for gmtime() */
16 #define SYSTEM_GMTIME_MAX 2147483647
17 #define SYSTEM_GMTIME_MIN -2147483647-1
18 
19 /* MODIFIED: Moved max/min for mktime() to time64.c to avoid having to
20  initialize it with system-dependent field ordering.
21 */
22 
23 /* MODIFIED: Removed SYSTEM_TIMEGM_MAX/MIN since they are not used
24  anywhere
25 */
26 
27 #endif /* TIME64_LIMITS_H */