summaryrefslogtreecommitdiff
path: root/src/test/modules/test_shm_mq/setup.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-10-05 08:04:52 -0400
committerRobert Haas <rhaas@postgresql.org>2016-10-05 08:04:52 -0400
commitd2ce38e204583bc444eebffd800d492cf56e3b38 (patch)
treeb8bcc79af1216b90388d80897c23539131704a99 /src/test/modules/test_shm_mq/setup.c
parenteda04886c1e048d695728206504ab4198462168e (diff)
Rename WAIT_* constants to PG_WAIT_*.
Windows apparently has a constant named WAIT_TIMEOUT, and some of these other names are pretty generic, too. Insert "PG_" at the front of each name in order to disambiguate. Michael Paquier
Diffstat (limited to 'src/test/modules/test_shm_mq/setup.c')
-rw-r--r--src/test/modules/test_shm_mq/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/modules/test_shm_mq/setup.c b/src/test/modules/test_shm_mq/setup.c
index cb86f3c37d4..5cfffe4471e 100644
--- a/src/test/modules/test_shm_mq/setup.c
+++ b/src/test/modules/test_shm_mq/setup.c
@@ -280,7 +280,7 @@ wait_for_workers_to_become_ready(worker_state *wstate,
}
/* Wait to be signalled. */
- WaitLatch(MyLatch, WL_LATCH_SET, 0, WAIT_EXTENSION);
+ WaitLatch(MyLatch, WL_LATCH_SET, 0, PG_WAIT_EXTENSION);
/* Reset the latch so we don't spin. */
ResetLatch(MyLatch);