added gmtime_r

This commit is contained in:
Jeff Hill
2000-01-28 21:07:21 +00:00
parent 0b5ca385c3
commit be67ff22e9

View File

@@ -8,12 +8,12 @@
#ifndef osdTimeh
#define osdTimeh
/*
* this is not defined by WIN32
*/
struct timespec {
time_t tv_sec; /* seconds since some epoch */
long tv_nsec; /* nanoseconds within the second */
};
struct tm *gmtime_r (const time_t *, struct tm *);
struct tm *localtime_r (const time_t *, struct tm *);
#endif /* ifndef osdTimeh */