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

Commitab6ae62

Browse files
committed
Fix link error for test_radixtree module on Windows
Add PGDLLIMPORT to pg_popcount32/64. In passing, fix a typo.Diagnosis by Masahiko Sawada, patch by David RowleyPer buildfarm members drongo and fairywrenDiscussion:https://postgr.es/m/CAD21AoAMm1mQd%3Dw4PrfrKK%3DOMP8j8%3D7ntJRPF8%2B%3D10iUuvwiCA%40mail.gmail.comDiscussion:https://postgr.es/m/CAApHDvov7724UrD1Ug0D1eV%2B9Pd_x5VEQmw-6HVG9w1WdCxXPA%40mail.gmail.com
1 parent9552e3a commitab6ae62

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎src/include/port/pg_bitutils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ pg_ceil_log2_64(uint64 num)
300300

301301
#ifdefTRY_POPCNT_FAST
302302
/* Attempt to use the POPCNT instruction, but perform a runtime check first */
303-
externint(*pg_popcount32) (uint32word);
304-
externint(*pg_popcount64) (uint64word);
303+
externPGDLLIMPORTint(*pg_popcount32) (uint32word);
304+
externPGDLLIMPORTint(*pg_popcount64) (uint64word);
305305

306306
#else
307307
/* Use a portable implementation -- no need for a function pointer. */

‎src/test/modules/test_radixtree/test_radixtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*--------------------------------------------------------------------------
22
*
33
* test_radixtree.c
4-
*Test module foradapive radix tree.
4+
*Test module foradaptive radix tree.
55
*
66
* Copyright (c) 2024, PostgreSQL Global Development Group
77
*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp