aboutsummaryrefslogtreecommitdiff
path: root/src/shared/Common.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-07-16 09:05:18 +0800
committermegamage <none@none>2009-07-16 09:05:18 +0800
commitd1bb9c2821cfd9985a70f84143a7f0bdedc00df7 (patch)
tree36ba29df184c3716ccb0e53ccd0063d33f61a4a7 /src/shared/Common.h
parent291692b1605a4364199c4c4d64fd7c9781f2b0cb (diff)
[8166] Add support for 32-bit hex format in addition to 64-bit version Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/shared/Common.h')
-rw-r--r--src/shared/Common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/Common.h b/src/shared/Common.h
index 4e5b16e9df6..a274c5d5a0b 100644
--- a/src/shared/Common.h
+++ b/src/shared/Common.h
@@ -130,6 +130,7 @@
#include <float.h>
+#define I32FMT "%08I32X"
#define I64FMT "%016I64X"
#define snprintf _snprintf
#define atoll __atoi64
@@ -141,6 +142,7 @@
#define stricmp strcasecmp
#define strnicmp strncasecmp
+#define I32FMT "%08X"
#define I64FMT "%016llX"
#endif