diff options
Diffstat (limited to 'include/mysql_time.h')
-rw-r--r-- | include/mysql_time.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/mysql_time.h b/include/mysql_time.h index 0a3f17a81fb..baa236e891e 100644 --- a/include/mysql_time.h +++ b/include/mysql_time.h @@ -17,6 +17,17 @@ #define _mysql_time_h_ /* + Portable time_t replacement. + 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 +*/ +typedef long my_time_t; + + +/* Time declarations shared between the server and client API: you should not add anything to this header unless it's used (and hence should be visible) in mysql.h. |