anyhow.
+Preprocessor
+============
+For variadic macros, stick with C99 syntax:
+
+#define vshPrint(_ctl, ...) fprintf(stdout, __VA_ARGS__)
+
+Use parenthesis when checking if a macro is defined, and use
+indentation to track nesting:
+
+#if defined(HAVE_POSIX_FALLOCATE) && !defined(HAVE_FALLOCATE)
+# define fallocate(a,ignored,b,c) posix_fallocate(a,b,c)
+#endif
+
+
C types
=======
Use the right type.
</p>
+ <h2><a href="types">Preprocessor</a></h2>
+
+ <p>
+ For variadic macros, stick with C99 syntax:
+ <pre>
+ #define vshPrint(_ctl, ...) fprintf(stdout, __VA_ARGS__)
+ </pre>
+ </p>
+
+ <p>Use parenthesis when checking if a macro is defined, and use
+ indentation to track nesting:
+
+ <pre>
+ #if defined(HAVE_POSIX_FALLOCATE) && !defined(HAVE_FALLOCATE)
+ # define fallocate(a,ignored,b,c) posix_fallocate(a,b,c)
+ #endif
+ </pre>
+ </p>
+
<h2><a href="types">C types</a></h2>
<p>
#include <limits.h>
#if HAVE_NUMACTL Some system includes aren't supported
- #include <numa.h> everywhere so need these #if defences.
+ # include <numa.h> everywhere so need these #if defences.
#endif
#include "internal.h" Include this first, after system includes.