[vlc-devel] commit: Fix win32 warning ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Apr 23 20:22:37 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Wed Apr 23 21:23:35 2008 +0300| [1816e3ec924d0d5dc1d488b7b0470f9f1c6b587b]

Fix win32 warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1816e3ec924d0d5dc1d488b7b0470f9f1c6b587b
---

 include/vlc_fixups.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 22a287f..fa50cb6 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -110,7 +110,7 @@
 /* If localtime_r() is not provided, we assume localtime() uses
  * thread-specific storage. */
 # include <time.h>
-static struct tm *localtime_r (const time_t *timep, struct tm *result)
+static inline struct tm *localtime_r (const time_t *timep, struct tm *result)
 {
     struct tm *s = localtime (timep);
     if (s == NULL)




More information about the vlc-devel mailing list