From: Tom Lane Date: Fri, 24 Mar 2017 03:18:52 +0000 (-0400) Subject: Avoid syntax error on platforms that have neither LOCALE_T nor ICU. X-Git-Tag: REL_10_BETA1~535 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=457a4448732881b5008f7a3bcca76fc299075ac3;p=postgresql 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. --- 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; };