Ignore the OS X GNUmakefile*s, and t/test_state.
[p5sagit/p5-mst-13.2.git] / time64_config.h
CommitLineData
b86b480f 1#ifndef TIME64_CONFIG_H
2# define TIME64_CONFIG_H
3
4/* Configuration
5 -------------
6 Define as appropriate for your system.
7 Sensible defaults provided.
8*/
9
461d5a49 10/* Debugging
11 TIME_64_DEBUG
12 Define if you want debugging messages
13*/
14/* #define TIME_64_DEBUG */
15
16
b86b480f 17/* INT_64_T
18 A 64 bit integer type to use to store time and others.
19 Must be defined.
20*/
21#define INT_64_T Quad_t
22
23
24/* USE_TM64
25 Should we use a 64 bit safe replacement for tm? This will
26 let you go past year 2 billion but the struct will be incompatible
27 with tm. Conversion functions will be provided.
28*/
29#define USE_TM64
30
31
32/* Availability of system functions.
33
34 HAS_GMTIME_R
35 Define if your system has gmtime_r()
36
37 HAS_LOCALTIME_R
38 Define if your system has localtime_r()
39
40 HAS_TIMEGM
41 Define if your system has timegm(), a GNU extension.
42*/
43/* Set in config.h */
44
45
46/* Details of non-standard tm struct elements.
47
48 HAS_TM_TM_GMTOFF
49 True if your tm struct has a "tm_gmtoff" element.
50 A BSD extension.
51
52 HAS_TM_TM_ZONE
53 True if your tm struct has a "tm_zone" element.
54 A BSD extension.
55*/
56/* Set in config.h */
57
58
59/* USE_SYSTEM_LOCALTIME
60 USE_SYSTEM_GMTIME
61 Should we use the system functions if the time is inside their range?
62 Your system localtime() is probably more accurate, but our gmtime() is
63 fast and safe.
64*/
65#define USE_SYSTEM_LOCALTIME
66/* #define USE_SYSTEM_GMTIME */
67
68
69/* SYSTEM_LOCALTIME_MAX
70 SYSTEM_LOCALTIME_MIN
71 SYSTEM_GMTIME_MAX
72 SYSTEM_GMTIME_MIN
73 Maximum and minimum values your system's gmtime() and localtime()
74 can handle. We will use your system functions if the time falls
75 inside these ranges.
76*/
8098e75c 77#define SYSTEM_LOCALTIME_MAX CAT2(LOCALTIME_MAX,UL)
78#define SYSTEM_LOCALTIME_MIN CAT2(LOCALTIME_MIN,UL)
79#define SYSTEM_GMTIME_MAX CAT2(GMTIME_MAX,UL)
80#define SYSTEM_GMTIME_MIN CAT2(GMTIME_MIN,UL)
b86b480f 81
d4fb0a1f 82#endif /* TIME64_CONFIG_H */