Commit 1027d1a5 authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

Addresses #1792 refs[t:1792] Fix windows build of ctime_r

git-svn-id: file:///svn/toku/tokudb@14840 c7de825b-a66e-492c-adef-691d508d4ae1
parent f6477c5f
...@@ -16,8 +16,6 @@ int fsync(int fildes); ...@@ -16,8 +16,6 @@ int fsync(int fildes);
int gettimeofday(struct timeval *tv, struct timezone *tz); int gettimeofday(struct timeval *tv, struct timezone *tz);
char * ctime_r(const time_t *timep, char *buf);
long long int strtoll(const char *nptr, char **endptr, int base); long long int strtoll(const char *nptr, char **endptr, int base);
......
...@@ -30,6 +30,8 @@ static inline float toku_tdiff (struct timeval *a, struct timeval *b) { ...@@ -30,6 +30,8 @@ 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); 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 #ifdef __cplusplus
}; };
#endif #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