Remove PRId64, PRIu64, PRIx64, PRIX64, and PRIo64 which are unused

svn path=/trunk/; revision=29638
This commit is contained in:
Kovarththanan Rajaratnam 2009-08-31 18:38:07 +00:00
parent 174c2047b1
commit dc958a440b
1 changed files with 0 additions and 50 deletions

View File

@ -161,56 +161,6 @@
/* Define if <inttypes.h> defines PRI[doxu]64 macros */
/* #define INTTYPES_H_DEFINES_FORMATS */
/* Format for printing 64-bit signed decimal numbers */
#ifndef PRId64
#ifdef _MSC_EXTENSIONS
#define PRId64 "I64d"
#else /* _MSC_EXTENSIONS */
#define PRId64 "lld"
#endif /* _MSC_EXTENSIONS */
#endif /* PRId64 */
/* Format for printing 64-bit unsigned octal numbers */
#ifndef PRIo64
#ifdef _MSC_EXTENSIONS
#define PRIo64 "I64o"
#else /* _MSC_EXTENSIONS */
#define PRIo64 "llo"
#endif /* _MSC_EXTENSIONS */
#endif /* PRIo64 */
/* Format for printing 64-bit unsigned decimal numbers */
#ifndef PRIu64
#ifdef _MSC_EXTENSIONS
#define PRIu64 "I64u"
#else /* _MSC_EXTENSIONS */
#define PRIu64 "llu"
#endif /* _MSC_EXTENSIONS */
#endif /* PRIu64 */
/* Formats for printing 64-bit unsigned hexadecimal numbers */
/* XXX - it seems that GLib has problems with the MSVC like I64x.
As we use GLib's g_sprintf and alike, it should be safe to use
llx everywhere now, making the macros pretty useless. For details see:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1025 */
#ifndef PRIx64
#ifdef _MSC_EXTENSIONS
/*#define PRIx64 "I64x"*/
#define PRIx64 "llx"
#else /* _MSC_EXTENSIONS */
#define PRIx64 "llx"
#endif /* _MSC_EXTENSIONS */
#endif /* PRIx64 */
#ifndef PRIX64
#ifdef _MSC_EXTENSIONS
/*#define PRIX64 "I64X"*/
#define PRIX64 "llX"
#else /* _MSC_EXTENSIONS */
#define PRIX64 "llX"
#endif /* _MSC_EXTENSIONS */
#endif /* PRIX64 */
/* Define if you have the z library (-lz). */
@HAVE_LIBZ@