[vlc-devel] commit: U?I64C: use U?INT64_C from <stdint.h> ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu May 1 16:49:08 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Thu May 1 17:50:16 2008 +0300| [594783c9c6add546352dbf861d762bd0077a0972]
U?I64C: use U?INT64_C from <stdint.h>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=594783c9c6add546352dbf861d762bd0077a0972
---
include/vlc_common.h | 14 ++------------
1 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/include/vlc_common.h b/include/vlc_common.h
index 95035b0..021bb77 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -882,18 +882,8 @@ VLC_EXPORT( char *, vlc_strcasestr, ( const char *s1, const char *s2 ) );
#define I64FX "%"PRIX64
/* 64 bits integer constant suffix */
-#if defined( __MINGW32__ ) || (!defined(WIN32) && !defined(UNDER_CE))
-# if defined(__WORDSIZE) && __WORDSIZE == 64
-# define I64C(x) x##L
-# define UI64C(x) x##UL
-# else
-# define I64C(x) x##LL
-# define UI64C(x) x##ULL
-# endif
-#else
-# define I64C(x) x##i64
-# define UI64C(x) x##ui64
-#endif /* defined(WIN32)||defined(UNDER_CE) */
+#define I64C(x) INT64_C(x)
+#define UI64C(x) UINT64_C(x)
#if defined(WIN32) || defined(UNDER_CE)
/* win32, cl and icl support */
More information about the vlc-devel
mailing list