diff options
author | dlenev@brandersnatch.localdomain <> | 2004-06-25 21:04:48 +0400 |
---|---|---|
committer | dlenev@brandersnatch.localdomain <> | 2004-06-25 21:04:48 +0400 |
commit | 9c35c402f2fd7de997d59db7934e7584b884d9cd (patch) | |
tree | 2d00631324d1a7b86d86b1c1b8ef12d30edf98ca /sql/tztime.h | |
parent | f6ea88e8a3c4a2a28fcc684397e1be7e39763973 (diff) | |
download | mariadb-git-9c35c402f2fd7de997d59db7934e7584b884d9cd.tar.gz |
Removed mysql_tzinfo_to_sql dependancy on sql/mysql_priv.h for circumventing
problems with unresolved dependancies on some platforms.
Diffstat (limited to 'sql/tztime.h')
-rw-r--r-- | sql/tztime.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/tztime.h b/sql/tztime.h index ed92441d790..334b14f4fc4 100644 --- a/sql/tztime.h +++ b/sql/tztime.h @@ -19,6 +19,14 @@ #pragma interface /* gcc class interface */ #endif +/* + Portable time_t replacement. + Should be signed and hold seconds for 1902-2038 range. +*/ +typedef long my_time_t; +#define MY_TIME_T_MAX LONG_MAX +#define MY_TIME_T_MIN LONG_MIN + #if !defined(TESTTIME) && !defined(TZINFO2SQL) /* This class represents abstract time zone and provides |