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

git version control git at videolan.org
Sat May 31 21:08:58 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat May 31 21:51:14 2008 +0300| [df4d199617f1d4bcb56c5fe4426fb655a2786949]

vlc_common.h: protect against multiple inclusions

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

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

diff --git a/include/vlc_common.h b/include/vlc_common.h
index 6f543ba..f4d7de6 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -29,6 +29,9 @@
  * This file is a collection of common definitions and types
  */
 
+#ifndef VLC_COMMON_H
+# define VLC_COMMON_H 1
+
 /*****************************************************************************
  * Required vlc headers
  *****************************************************************************/
@@ -917,3 +920,5 @@ VLC_EXPORT( const char *, VLC_Changeset, ( void ) );
 #   define PATH_SEP_CHAR ':'
 #   define PATH_SEP ":"
 #endif
+
+#endif /* !VLC_COMMON_H */




More information about the vlc-devel mailing list