mirror of
https://github.com/postgres/postgres.git
synced 2026-03-02 05:13:42 -05:00
14 lines
404 B
Text
14 lines
404 B
Text
# src/template/darwin
|
|
|
|
# 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
|