Commit 924edf1b authored by Yoni Fogel's avatar Yoni Fogel

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
parent 2fdfb3ff
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment