diff options
| author | Thomas Munro | 2023-02-17 02:18:18 +0000 |
|---|---|---|
| committer | Thomas Munro | 2023-02-17 02:18:18 +0000 |
| commit | d2ea2d310dfdc40328aca5b6c52225de78432e01 (patch) | |
| tree | 4ffd24866a585fa8de3899cd84a551465ddc4008 /meson.build | |
| parent | a0fa18cc0d6e4dc3dc24b57ae11253356c55d6c4 (diff) | |
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
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/meson.build b/meson.build index b5daed9f38..f534704452 100644 --- a/meson.build +++ b/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 |
