mirror of
https://github.com/postgres/postgres.git
synced 2025-12-24 06:01:07 +03:00
Remove support for on_exit()
All supported platforms support the C89 standard function atexit() (SunOS 4 probably being the last one not to), and supporting both makes the code clumsy.
This commit is contained in:
@@ -1438,11 +1438,6 @@ fi
|
||||
AC_CHECK_FUNCS([strtoll strtoq], [break])
|
||||
AC_CHECK_FUNCS([strtoull strtouq], [break])
|
||||
|
||||
# Check for one of atexit() or on_exit()
|
||||
AC_CHECK_FUNCS(atexit, [],
|
||||
[AC_CHECK_FUNCS(on_exit, [],
|
||||
[AC_MSG_ERROR([neither atexit() nor on_exit() found])])])
|
||||
|
||||
|
||||
#
|
||||
# Pthreads
|
||||
|
||||
Reference in New Issue
Block a user