aboutsummaryrefslogtreecommitdiff
path: root/reloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'reloc.h')
-rw-r--r--reloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/reloc.h b/reloc.h
index bebd8bb..aaafbdd 100644
--- a/reloc.h
+++ b/reloc.h
@@ -14,8 +14,10 @@
#if defined(_WIN32) || defined(_WIN64)
#define DIRSEP '\\'
+#define SIZE_T_FMT "%I64u"
#elif defined(__linux__) || defined(__unix__) || defined(__APPLE__) || defined(__MACH__)
#define DIRSEP '/'
+#define SIZE_T_FMT "%lu"
#endif