Commit 5c1faa7b authored by Andres Freund's avatar Andres Freund

Protect definition of SpinlockSemaArray, just like its declaration.

Found via clang's -Wmissing-variable-declarations.
parent 8fff977e
......@@ -30,7 +30,9 @@
#include "storage/spin.h"
#ifndef HAVE_SPINLOCKS
PGSemaphore SpinlockSemaArray;
#endif
/*
* Report the amount of shared memory needed to store semaphores for spinlock
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment