added gmtime_r
This commit is contained in:
@@ -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 */
|
||||
Reference in New Issue
Block a user