Mercurial > libavformat.hg
diff os_support.c @ 1497:a561635afa61 libavformat
simplify
| author | mru |
|---|---|
| date | Tue, 14 Nov 2006 03:42:28 +0000 |
| parents | 0899bfe4105c |
| children | 0b94c2e98625 |
line wrap: on
line diff
--- a/os_support.c Tue Nov 14 01:34:36 2006 +0000 +++ b/os_support.c Tue Nov 14 03:42:28 2006 +0000 @@ -53,8 +53,7 @@ #endif } -#if !defined(CONFIG_WINCE) -#if !defined(HAVE_LOCALTIME_R) +#if !defined(CONFIG_WINCE) && !defined(HAVE_LOCALTIME_R) struct tm *localtime_r(const time_t *t, struct tm *tp) { struct tm *l; @@ -65,5 +64,4 @@ *tp = *l; return tp; } -#endif /* !defined(HAVE_LOCALTIME_R) */ -#endif /* !defined(CONFIG_WINCE) */ +#endif /* !defined(CONFIG_WINCE) && !defined(HAVE_LOCALTIME_R) */
