git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: f10f0ae) | patch
Probe for preadv/pwritev in a more macOS-friendly way.
2021年7月12日 23:17:35 +0000 (19:17 -0400)
2021年7月12日 23:17:35 +0000 (19:17 -0400)
commit f014b1b9bb8eda4e82c1805969dbae2b07b7d54d
Probe for preadv/pwritev in a more macOS-friendly way.

Apple's mechanism for dealing with functions that are available
in only some OS versions confuses AC_CHECK_FUNCS, and therefore
AC_REPLACE_FUNCS. We can use AC_CHECK_DECLS instead, so long as
we enable -Werror=unguarded-availability-new. This allows people
compiling for macOS to control whether or not preadv/pwritev are
used by setting MACOSX_DEPLOYMENT_TARGET, rather than supplying
a back-rev SDK. (Of course, the latter still works, too.)

James Hilliard

Discussion: https://postgr.es/m/20210122193230.25295-1-james.hilliard1@gmail.com
configure diff | blob | blame | history
configure.ac diff | blob | blame | history
src/include/pg_config.h.in diff | blob | blame | history
src/include/port/pg_iovec.h diff | blob | blame | history
src/tools/msvc/Solution.pm diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /