summaryrefslogtreecommitdiffstats
path: root/src/auto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-18 23:01:13 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-18 23:01:13 +0200
commit285e3358696b1bc6296e5d4c53425680ce8fbd54 (patch)
treef2a33507d8fad7432096ab3240bf047a9f962bb5 /src/auto
parentf98a39ca57d001ba3e24831bae1e375790fb41f0 (diff)
patch 8.0.1735: flexible array member feature not supported by HP-UXv8.0.1735
Problem: Flexible array member feature not supported by HP-UX. (John Marriott) Solution: Do not use the flexible array member feature of C99.
Diffstat (limited to 'src/auto')
-rwxr-xr-xsrc/auto/configure10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/auto/configure b/src/auto/configure
index 6673de85a2..7a65bec0aa 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -4188,14 +4188,10 @@ int
main ()
{
- struct with_flexible_member {
- int count; // comment
- char text[]; // another comment
- };
enum {
- one,
- two,
- three,
+ one, // one comment
+ two, // two comments
+ three, // three comments
};
long long int a = 1;
long long unsigned b = 2;