summaryrefslogtreecommitdiff
path: root/include/stdinc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stdinc.h')
-rw-r--r--include/stdinc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/stdinc.h b/include/stdinc.h
index 288f4da..4596f8a 100644
--- a/include/stdinc.h
+++ b/include/stdinc.h
@@ -93,4 +93,10 @@
#define HYB_PATH_MAX 4096
#endif
+#if 0 && __GNUC__
+#define AFP(a,b) __attribute__((format (printf, a, b)))
+#else
+#define AFP(a,b)
+#endif
+
#endif