Skip to content
Snippets Groups Projects
Commit fa28bc16 authored by Måns Rullgård's avatar Måns Rullgård
Browse files

simplify

Originally committed as revision 7048 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f940f7c9
No related branches found
No related tags found
No related merge requests found
...@@ -53,8 +53,7 @@ int64_t av_gettime(void) ...@@ -53,8 +53,7 @@ int64_t av_gettime(void)
#endif #endif
} }
#if !defined(CONFIG_WINCE) #if !defined(CONFIG_WINCE) && !defined(HAVE_LOCALTIME_R)
#if !defined(HAVE_LOCALTIME_R)
struct tm *localtime_r(const time_t *t, struct tm *tp) struct tm *localtime_r(const time_t *t, struct tm *tp)
{ {
struct tm *l; struct tm *l;
...@@ -65,5 +64,4 @@ struct tm *localtime_r(const time_t *t, struct tm *tp) ...@@ -65,5 +64,4 @@ struct tm *localtime_r(const time_t *t, struct tm *tp)
*tp = *l; *tp = *l;
return tp; return tp;
} }
#endif /* !defined(HAVE_LOCALTIME_R) */ #endif /* !defined(CONFIG_WINCE) && !defined(HAVE_LOCALTIME_R) */
#endif /* !defined(CONFIG_WINCE) */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment