Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5c1faa7

Browse files
committed
Protect definition of SpinlockSemaArray, just like its declaration.
Found via clang's -Wmissing-variable-declarations.
1 parent8fff977 commit5c1faa7

File tree

1 file changed

+2
-0
lines changed
  • src/backend/storage/lmgr

1 file changed

+2
-0
lines changed

‎src/backend/storage/lmgr/spin.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@
3030
#include"storage/spin.h"
3131

3232

33+
#ifndefHAVE_SPINLOCKS
3334
PGSemaphoreSpinlockSemaArray;
35+
#endif
3436

3537
/*
3638
* Report the amount of shared memory needed to store semaphores for spinlock

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp