aboutsummaryrefslogtreecommitdiffstats
path: root/src/zix
diff options
context:
space:
mode:
Diffstat (limited to 'src/zix')
-rw-r--r--src/zix/ring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zix/ring.c b/src/zix/ring.c
index 78cc7b4..a48153a 100644
--- a/src/zix/ring.c
+++ b/src/zix/ring.c
@@ -6,7 +6,7 @@
#include <stdlib.h>
#include <string.h>
-#ifdef HAVE_MLOCK
+#if HAVE_MLOCK
# include <sys/mman.h>
# define ZIX_MLOCK(ptr, size) mlock((ptr), (size))
#elif defined(_WIN32)