From 4952078f0c24283ce57a6d316ef9470caf5a8fb2 Mon Sep 17 00:00:00 2001 From: nandika Date: Wed, 26 May 2010 04:32:27 +0000 Subject: git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@948312 13f79535-47bb-0310-9956-ffa450edef68 --- util/include/axutil_utils_defines.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/include/axutil_utils_defines.h b/util/include/axutil_utils_defines.h index 7c975ef..ddc3a70 100644 --- a/util/include/axutil_utils_defines.h +++ b/util/include/axutil_utils_defines.h @@ -62,8 +62,15 @@ extern "C" #define AXIS2_PRINTF_INT64_FORMAT_SPECIFIER "%lld" #define AXIS2_PRINTF_UINT64_FORMAT_SPECIFIER "%llu" #endif -#define AXIS2_PRINTF_INT32_FORMAT_SPECIFIER "%d" -#define AXIS2_PRINTF_UINT32_FORMAT_SPECIFIER "%u" +# if defined(_MSC_VER) && _MSC_VER >= 1300 +# define AXIS2_PRINTF_INT32_FORMAT_SPECIFIER "%I32d" +# define AXIS2_PRINTF_UINT32_FORMAT_SPECIFIER "%I32u" +# else +# define AXIS2_PRINTF_INT32_FORMAT_SPECIFIER "%d" +# define AXIS2_PRINTF_UINT32_FORMAT_SPECIFIER "%u" +# endif +/**#define AXIS2_PRINTF_INT32_FORMAT_SPECIFIER "%d" +#define AXIS2_PRINTF_UINT32_FORMAT_SPECIFIER "%u" */ #endif /** -- cgit v1.1-32-gdbae