aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/port/pg_bitutils.h4
-rw-r--r--src/test/modules/test_radixtree/test_radixtree.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/port/pg_bitutils.h b/src/include/port/pg_bitutils.h
index 799f70d0526..46bf4f01038 100644
--- a/src/include/port/pg_bitutils.h
+++ b/src/include/port/pg_bitutils.h
@@ -300,8 +300,8 @@ pg_ceil_log2_64(uint64 num)
#ifdef TRY_POPCNT_FAST
/* Attempt to use the POPCNT instruction, but perform a runtime check first */
-extern int (*pg_popcount32) (uint32 word);
-extern int (*pg_popcount64) (uint64 word);
+extern PGDLLIMPORT int (*pg_popcount32) (uint32 word);
+extern PGDLLIMPORT int (*pg_popcount64) (uint64 word);
#else
/* Use a portable implementation -- no need for a function pointer. */
diff --git a/src/test/modules/test_radixtree/test_radixtree.c b/src/test/modules/test_radixtree/test_radixtree.c
index 8010e0a1f15..d301c60d000 100644
--- a/src/test/modules/test_radixtree/test_radixtree.c
+++ b/src/test/modules/test_radixtree/test_radixtree.c
@@ -1,7 +1,7 @@
/*--------------------------------------------------------------------------
*
* test_radixtree.c
- * Test module for adapive radix tree.
+ * Test module for adaptive radix tree.
*
* Copyright (c) 2024, PostgreSQL Global Development Group
*