diff options
Diffstat (limited to 'tz/private.h')
-rw-r--r-- | tz/private.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tz/private.h b/tz/private.h index 4c03324..e8c0942 100644 --- a/tz/private.h +++ b/tz/private.h @@ -689,6 +689,12 @@ time_t time2posix_z(timezone_t, time_t) ATTRIBUTE_PURE; # define INITIALIZE(x) #endif +/* Whether memory access must strictly follow the C standard. + If 0, it's OK to read uninitialized storage so long as the value is + not relied upon. Defining it to 0 lets mktime access parts of + struct tm that might be uninitialized, as a heuristic when the + standard doesn't say what to return and when tm_gmtoff can help + mktime likely infer a better value. */ #ifndef UNINIT_TRAP # define UNINIT_TRAP 0 #endif |