X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fconfig%2Fstds.h;h=43bef04640083cfe43fedfb53239c6b2ebc59897;hp=176be3bc199024ea25d690c6d2efc07b772e7088;hb=5bd86a09eb897cf12f0d08442f956f79ec7d15b3;hpb=733794b4d8be284dcb6f9e60fa4b4abe1f3398f2 diff --git a/src/config/stds.h b/src/config/stds.h index 176be3b..43bef04 100644 --- a/src/config/stds.h +++ b/src/config/stds.h @@ -284,4 +284,13 @@ typedef struct afsUUID afsUUID; #define static_inline static inline #endif +/* A macro that can be used when printf'ing 64 bit integers, as Unix and + * windows use a different format string + */ +#ifdef AFS_NT40_ENV +#define AFS_INT64_FMT "l64d" +#else +#define AFS_INT64_FMT "lld" +#endif + #endif /* OPENAFS_CONFIG_AFS_STDS_H */