diff options
Diffstat (limited to 'lib/os_internal.h')
-rw-r--r-- | lib/os_internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/os_internal.h b/lib/os_internal.h index 2f73c8a2b..6d5d33ae4 100644 --- a/lib/os_internal.h +++ b/lib/os_internal.h @@ -84,6 +84,13 @@ char *_xine_private_strpbrk(const char *s, const char *accept); char *_xine_private_strsep(char **stringp, const char *delim); #endif +/* replacement of gmtime */ +#ifndef HAVE_GMTIME +#include <time.h> +#define gmtime(TM) _xine_private_gmtime((TM)) +time_t _xine_private_gmtime(struct tm *tm); +#endif + /* macross needed for MSVC */ #ifdef _MSC_VER # define snprintf _snprintf |