Commit a6f71ffa authored by Gildas Bazin's avatar Gildas Bazin

* include/vlc_common.h: added the UI64C() macro for unsinged long long constants.
parent 7055051d
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* Collection of useful common types and macros definitions * Collection of useful common types and macros definitions
***************************************************************************** *****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN * Copyright (C) 1998, 1999, 2000 VideoLAN
* $Id: vlc_common.h,v 1.108 2004/02/06 20:06:55 gbazin Exp $ * $Id: vlc_common.h,v 1.109 2004/02/23 20:34:47 gbazin Exp $
* *
* Authors: Samuel Hocevar <sam@via.ecp.fr> * Authors: Samuel Hocevar <sam@via.ecp.fr>
* Vincent Seguin <seguin@via.ecp.fr> * Vincent Seguin <seguin@via.ecp.fr>
...@@ -732,8 +732,10 @@ static inline void _SetQWLE( uint8_t *p, uint64_t i_qw ) ...@@ -732,8 +732,10 @@ static inline void _SetQWLE( uint8_t *p, uint64_t i_qw )
/* 64 bits integer constant suffix */ /* 64 bits integer constant suffix */
#if defined( __MINGW32__ ) || (!defined(WIN32) && !defined(UNDER_CE)) #if defined( __MINGW32__ ) || (!defined(WIN32) && !defined(UNDER_CE))
# define I64C(x) x##LL # define I64C(x) x##LL
# define UI64C(x) x##ULL
#else #else
# define I64C(x) x##i64 # define I64C(x) x##i64
# define UI64C(x) x##ui64
#endif /* defined(WIN32)||defined(UNDER_CE) */ #endif /* defined(WIN32)||defined(UNDER_CE) */
#if defined(WIN32) || defined(UNDER_CE) #if defined(WIN32) || defined(UNDER_CE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment