mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-16 19:37:00 +08:00
since Apple shipped a compiler that needed this switch, and there's increasing interest in using other compilers that won't accept the switch at all. Better to let anybody who still needs the switch inject it via CPPFLAGS. Per gripe from Neil Conway.
15 lines
460 B
Plaintext
15 lines
460 B
Plaintext
# $PostgreSQL: pgsql/src/template/darwin,v 1.12 2010/08/02 04:51:17 tgl Exp $
|
|
|
|
# Select appropriate semaphore support. Darwin 6.0 (Mac OS X 10.2) and up
|
|
# support System V semaphores; before that we have to use POSIX semaphores,
|
|
# which are less good for our purposes because they eat a file descriptor
|
|
# per backend per max_connection slot.
|
|
case $host_os in
|
|
darwin[015].*)
|
|
USE_NAMED_POSIX_SEMAPHORES=1
|
|
;;
|
|
*)
|
|
USE_SYSV_SEMAPHORES=1
|
|
;;
|
|
esac
|