mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
Closes #1792 closes[t:1792] icc or windows has ctime_r function internally, gives bad warning
Using internal version instead of overwriting git-svn-id: file:///svn/toku/tokudb@14947 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
d2576d5f71
commit
a0d8361575
2 changed files with 0 additions and 9 deletions
|
@ -47,10 +47,3 @@ clock_gettime(clockid_t clockid, toku_timespec_t *ts) {
|
|||
return -1;
|
||||
}
|
||||
|
||||
char *
|
||||
ctime_r(const time_t *timep, char *buf) {
|
||||
int r = ctime_s(buf, 26, timep);
|
||||
assert(r == 0);
|
||||
return buf;
|
||||
}
|
||||
|
||||
|
|
|
@ -30,8 +30,6 @@ static inline float toku_tdiff (struct timeval *a, struct timeval *b) {
|
|||
return (a->tv_sec - b->tv_sec) +1e-6*(a->tv_usec - b->tv_usec);
|
||||
}
|
||||
|
||||
char * ctime_r(const time_t *timep, char *buf);
|
||||
|
||||
#ifdef __cplusplus
|
||||
};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue