summaryrefslogtreecommitdiff
path: root/util-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'util-internal.h')
-rw-r--r--util-internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/util-internal.h b/util-internal.h
index b429f57e..34ac6870 100644
--- a/util-internal.h
+++ b/util-internal.h
@@ -33,6 +33,9 @@
extern "C" {
#endif
+/* A good no-op to use in macro definitions. */
+#define _EVUTIL_NIL_STMT ((void)0)
+
/* Internal use only: macros to match patterns of error codes in a
cross-platform way. We need these macros because of two historical
reasons: first, nonblocking IO functions are generally written to give an