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

Commit7c655a0

Browse files
committed
Fix meson uuid header check so it works with MSVC
The OSSP uuid.h file includes unistd.h, so to use it with MSVC we need toinclude the postgres include directories so it picks up our version ofthat in src/include/port/win32_msvc. Adjust the meson test accordingly.
1 parent8285b48 commit7c655a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎meson.build‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,10 @@ if uuidopt != 'none'
13531353
error('unknown uuid build option value: @0@'.format(uuidopt))
13541354
endif
13551355

1356-
ifnot cc.has_header_symbol(uuidheader, uuidfunc,args: test_c_args,dependencies: uuid)
1356+
ifnot cc.has_header_symbol(uuidheader, uuidfunc,
1357+
args: test_c_args,
1358+
include_directories: postgres_inc,
1359+
dependencies: uuid)
13571360
error('uuid library @0@ missing required function @1@'.format(uuidopt, uuidfunc))
13581361
endif
13591362
cdata.set('HAVE_@0@'.format(uuidheader.underscorify().to_upper()),1)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp