diff options
author | unknown <dlenev@brandersnatch.localdomain> | 2004-08-24 13:53:02 +0400 |
---|---|---|
committer | unknown <dlenev@brandersnatch.localdomain> | 2004-08-24 13:53:02 +0400 |
commit | 805dcdadfdf8ebe26e489a5cf2289b26e75268bd (patch) | |
tree | ec6bd106ea4555aaee94980e06ab56b46783aeb7 /sql-common/my_time.c | |
parent | 8854eeda26f9b703adca3b4a6a4c072a96d888ce (diff) | |
download | mariadb-git-805dcdadfdf8ebe26e489a5cf2289b26e75268bd.tar.gz |
Fixed windows-specific warning about undeclared localtime_r() in my_time.c.
We have to include my_pthread.h since it is the place where localtime_r() is declared
on platforms where this function is missing.
sql-common/my_time.c:
We have to include my_pthread.h since it is the place where localtime_r() is declared
on platforms where this function is missing.
Diffstat (limited to 'sql-common/my_time.c')
-rw-r--r-- | sql-common/my_time.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql-common/my_time.c b/sql-common/my_time.c index 855e92d6648..fcfa2efef61 100644 --- a/sql-common/my_time.c +++ b/sql-common/my_time.c @@ -17,6 +17,8 @@ #include <my_time.h> #include <m_string.h> #include <m_ctype.h> +/* Windows version of localtime_r() is declared in my_ptrhead.h */ +#include <my_pthread.h> ulonglong log_10_int[20]= { |