We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61a900f commit cce6c68Copy full SHA for cce6c68
pgrx-pg-sys/pgrx-cshim.c
@@ -8,7 +8,13 @@
8
//LICENSE
9
//LICENSE Use of this source code is governed by the MIT license that can be found in the LICENSE file.
10
11
-#include "pgrx-cshim-static.c"
+#if __has_include("pgrx-cshim-static.c")
12
+ #include "pgrx-cshim-static.c"
13
+#endif
14
+
15
+#if __has_include("pgrx-cshim-static.cpp")
16
+ #include "pgrx-cshim-static.cpp"
17
18
19
void SpinLockInit__pgrx_cshim(volatile slock_t *lock) {
20
SpinLockInit(lock);
0 commit comments