summaryrefslogtreecommitdiff
path: root/src/unix/posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/unix/posix.h')
-rw-r--r--src/unix/posix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/posix.h b/src/unix/posix.h
index 8eebbd4d8..f355844d9 100644
--- a/src/unix/posix.h
+++ b/src/unix/posix.h
@@ -12,5 +12,6 @@
#define p_realpath(p, po) realpath(p, po)
#define p_fnmatch(p, s, f) fnmatch(p, s, f)
#define p_vsnprintf(b, c, f, a) vsnprintf(b, c, f, a)
+#define p_snprintf(b, c, f, ...) snprintf(b, c, f, __VA_ARGS__)
#endif