mirror of
https://github.com/postgres/postgres.git
synced 2025-11-28 11:44:57 +03:00
Assume that we have signed integral types and flexible array members.
These compiler features are required by C99, so remove the configure probes for them. This is part of a series of commits to get rid of no-longer-relevant configure checks and dead src/port/ code. I'm committing them separately to make it easier to back out individual changes if they prove less portable than I expect. Discussion: https://postgr.es/m/15379.1582221614@sss.pgh.pa.us
This commit is contained in:
@@ -201,7 +201,6 @@ sub GenerateFiles
|
||||
ENABLE_GSS => $self->{options}->{gss} ? 1 : undef,
|
||||
ENABLE_NLS => $self->{options}->{nls} ? 1 : undef,
|
||||
ENABLE_THREAD_SAFETY => 1,
|
||||
FLEXIBLE_ARRAY_MEMBER => '/**/',
|
||||
GETTIMEOFDAY_1ARG => undef,
|
||||
HAVE_APPEND_HISTORY => undef,
|
||||
HAVE_ASN1_STRING_GET0_DATA => undef,
|
||||
@@ -483,7 +482,6 @@ sub GenerateFiles
|
||||
pg_restrict => '__restrict',
|
||||
# not defined, because it'd conflict with __declspec(restrict)
|
||||
restrict => undef,
|
||||
signed => undef,
|
||||
typeof => undef,);
|
||||
|
||||
if ($self->{options}->{uuid})
|
||||
|
||||
Reference in New Issue
Block a user