Mercurial > libavformat.hg
diff os_support.c @ 2204:6f3e0f91b7db libavformat
Remove localtime_r implementation for systems that don't have it.
It is no longer used.
author | ramiro |
---|---|
date | Mon, 25 Jun 2007 16:18:28 +0000 |
parents | 621b55f8eac4 |
children | 2ec2d6dca26e |
line wrap: on
line diff
--- a/os_support.c Mon Jun 25 02:08:04 2007 +0000 +++ b/os_support.c Mon Jun 25 16:18:28 2007 +0000 @@ -58,19 +58,6 @@ #endif } -#if !defined(HAVE_LOCALTIME_R) -struct tm *localtime_r(const time_t *t, struct tm *tp) -{ - struct tm *l; - - l = localtime(t); - if (!l) - return 0; - *tp = *l; - return tp; -} -#endif /* !defined(HAVE_LOCALTIME_R) */ - #ifdef CONFIG_NETWORK #include "network.h"