diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2020-09-08 10:09:43 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2020-09-08 10:09:43 +0200 |
commit | 27acbd51e60c98cba6441d7a88210a1c33bf9db4 (patch) | |
tree | 6a21e64b05700130b64b596b96ad89fa3116e6da /src | |
parent | 2939f613fa91f12b43d51eb8c4e595d5164e5254 (diff) |
Use return instead of exit() in configure
Using exit() requires stdlib.h, which is not included. Use return
instead. Also add return type for main().
Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>
Backpatched because Apple macOS 10.16/11 (Big Sur) compiler makes
calling undeclared functions an error, so these configure tests would
fail.
Reported-by: Thomas Gilligan <thomas.gilligan@icloud.com>
Reported-by: Jesse Zhang <sbjesse@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/09A4B554-82B1-4536-B191-2461342EE0BB%40icloud.com
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions