summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2017-03-24 03:18:52 +0000
committerTom Lane2017-03-24 03:18:52 +0000
commit457a4448732881b5008f7a3bcca76fc299075ac3 (patch)
tree010ecda875742582b83a3e73eff8a6b5985d280b
parent218747d2cf3cc1536ff77435e596280e0e739760 (diff)
Avoid syntax error on platforms that have neither LOCALE_T nor ICU.
Buildfarm member anole sees this union as empty, and doesn't like it.
-rw-r--r--src/include/utils/pg_locale.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/utils/pg_locale.h b/src/include/utils/pg_locale.h
index 12d7547413..85eb9d71fd 100644
--- a/src/include/utils/pg_locale.h
+++ b/src/include/utils/pg_locale.h
@@ -80,6 +80,7 @@ struct pg_locale_t
UCollator *ucol;
} icu;
#endif
+ int dummy; /* in case we have neither LOCALE_T nor ICU */
} info;
};