[vlc-devel] commit: vlc_fixups.h: Protect against multiple inclusions ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Mar 19 17:58:35 CET 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Wed Mar 19 18:58:46 2008 +0200| [28737ffcb575641e55b9ec9b04fe3e5c6e130141]

vlc_fixups.h: Protect against multiple inclusions

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

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

diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index ca9c667..22a287f 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -24,6 +24,9 @@
  * This file is a collection of portability fixes
  */
 
+#ifndef LIBVLC_FIXUPS_H
+# define LIBVLC_FIXUPS_H 1
+
 #ifndef HAVE_STRDUP
 # define strdup vlc_strdup
 #endif
@@ -118,3 +121,4 @@ static struct tm *localtime_r (const time_t *timep, struct tm *result)
 }
 #endif
 
+#endif /* !LIBVLC_FIXUPS_H */




More information about the vlc-devel mailing list