From: Peter Eisentraut <peter_e@gmx.net>
Date: Sun, 19 Oct 2014 04:45:40 +0000 (-0400)
Subject: initdb: Fix compiler error in USE_PREFETCH case
X-Git-Tag: REL9_5_ALPHA1~1339
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49d182e61ebca00762531718b3bafa9107ccee17;p=postgresql

initdb: Fix compiler error in USE_PREFETCH case
---

diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index e6c9e480d3..dc1f1df6dd 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -1288,7 +1288,7 @@ setup_config(void)
 	conflines = replace_token(conflines, "#dynamic_shared_memory_type = posix",
 							  repltok);
 
-#if !USE_PREFETCH
+#ifndef USE_PREFETCH
 	conflines = replace_token(conflines,
 							  "#effective_io_concurrency = 1",
 							  "#effective_io_concurrency = 0");