aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authormegamage <none@none>2009-07-12 17:51:26 +0800
committermegamage <none@none>2009-07-12 17:51:26 +0800
commit5e22d496aef731be5a765d843b05aca40222a6ec (patch)
tree19fe468de580f13744fc24ed8c647ba8d62e2d00 /src/shared
parentd8cb180950d0d0fd8f09de4668848e3536b8c2bb (diff)
[8150] Provided short name for portable format specifier for size_t values Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/shared')
-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 735c57eedbe..4e5b16e9df6 100644
--- a/src/shared/Common.h
+++ b/src/shared/Common.h
@@ -151,6 +151,8 @@
#define SI64FMTD ACE_INT64_FORMAT_SPECIFIER
#define SI64LIT(N) ACE_INT64_LITERAL(N)
+#define SIZEFMTD ACE_SIZE_T_FORMAT_SPECIFIER
+
inline float finiteAlways(float f) { return finite(f) ? f : 0.0f; }
#define atol(a) strtoul( a, NULL, 10)