mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Remove obsolete platforms from ps_status.c.
Time to remove various code, comments and configure/meson probes relating to ancient BSD, SunOS, GNU/Hurd, IRIX, NeXT and Unixware. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/CA%2BhUKGJMNGUAqf27WbckYFrM-Mavy0RKJvocfJU%3DJ2XcAZyv%2Bw%40mail.gmail.com
This commit is contained in:
17
meson.build
17
meson.build
@ -2293,23 +2293,6 @@ endif
|
||||
cdata.set('pg_restrict', '__restrict')
|
||||
|
||||
|
||||
if cc.links('''
|
||||
#include <machine/vmparam.h>
|
||||
#include <sys/exec.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
PS_STRINGS->ps_nargvstr = 1;
|
||||
PS_STRINGS->ps_argvstr = "foo";
|
||||
}
|
||||
''',
|
||||
name: 'PS_STRINGS', args: test_c_args)
|
||||
cdata.set('HAVE_PS_STRINGS', 1)
|
||||
else
|
||||
cdata.set('HAVE_PS_STRINGS', false)
|
||||
endif
|
||||
|
||||
|
||||
# Most libraries are included only if they demonstrably provide a function we
|
||||
# need, but libm is an exception: always include it, because there are too
|
||||
# many compilers that play cute optimization games that will break probes for
|
||||
|
Reference in New Issue
Block a user