diff options
author | nandika | 2010-05-26 04:32:27 +0000 |
---|---|---|
committer | nandika | 2010-05-26 04:32:27 +0000 |
commit | 4952078f0c24283ce57a6d316ef9470caf5a8fb2 (patch) | |
tree | c8091c550e70682ad3fa552cd16f05565813bc55 | |
parent | c41d927309c586ab215f8fa681243482ae9792e0 (diff) | |
download | axis2c-4952078f0c24283ce57a6d316ef9470caf5a8fb2.tar.gz axis2c-4952078f0c24283ce57a6d316ef9470caf5a8fb2.tar.bz2 |
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@948312 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | util/include/axutil_utils_defines.h | 11 |
1 files changed, 9 insertions, 2 deletions
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 /** |