diff options
Diffstat (limited to 'include/my_time.h')
-rw-r--r-- | include/my_time.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/my_time.h b/include/my_time.h index a27ac5c1628..88abe02ac08 100644 --- a/include/my_time.h +++ b/include/my_time.h @@ -30,7 +30,13 @@ extern uchar days_in_month[]; /* Portable time_t replacement. - Should be signed and hold seconds for 1902-2038 range. + Should be signed and hold seconds for 1902 -- 2038-01-19 range + i.e at least a 32bit variable + + Using the system built in time_t is not an option as + we rely on the above requirements in the time functions + + For example QNX has an unsigned time_t type */ #if defined(_WIN64) || defined(WIN64) /* on Win64 long is still 4 bytes (not 8!) */ |