summaryrefslogtreecommitdiff
path: root/base.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-09 15:57:24 -0500
committerpommicket <pommicket@gmail.com>2022-12-09 15:57:24 -0500
commit2dce45002b9d4d93cc2db15b1697d13c1709fb92 (patch)
tree808efd41be71afe286a1d8bf83480ca1ff7df75d /base.h
parent27c9af7de5f47c33217be02107e31061366f481f (diff)
more lsp
Diffstat (limited to 'base.h')
-rw-r--r--base.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/base.h b/base.h
index 5fa2b15..5ba03bc 100644
--- a/base.h
+++ b/base.h
@@ -116,6 +116,11 @@ typedef unsigned long long ullong;
#else
#define ATTRIBUTE_PRINTF(fmt_idx, arg_idx)
#endif
+#if _MSC_VER > 1400
+#define PRINTF_FORMAT_STRING _Printf_format_string_
+#else
+#define PRINTF_FORMAT_STRING
+#endif
#define Status bool WarnUnusedResult // false = error, true = success