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

git version control git at videolan.org
Thu Sep 4 21:48:02 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Sep  4 22:39:04 2008 +0300| [dc8228bbecbf727782f26b85cd4b7150c7a52359] | committer: Rémi Denis-Courmont 

Protect against multiple inclusions

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

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

diff --git a/include/vlc_mtime.h b/include/vlc_mtime.h
index d8cfca9..079f791 100644
--- a/include/vlc_mtime.h
+++ b/include/vlc_mtime.h
@@ -29,6 +29,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifndef __VLC_MTIME_H
+# define __VLC_MTIME_H 1
+
 /*****************************************************************************
  * LAST_MDATE: date which will never happen
  *****************************************************************************
@@ -83,3 +86,4 @@ VLC_EXPORT( mtime_t, date_Get,       ( const date_t * ) );
 VLC_EXPORT( void,    date_Move,      ( date_t *, mtime_t ) );
 VLC_EXPORT( mtime_t, date_Increment, ( date_t *, uint32_t ) );
 VLC_EXPORT( uint64_t, NTPtime64,     ( void ) );
+#endif /* !__VLC_MTIME_ */




More information about the vlc-devel mailing list