From 457a4448732881b5008f7a3bcca76fc299075ac3 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 23 Mar 2017 23:18:52 -0400 Subject: [PATCH] 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. --- src/include/utils/pg_locale.h | 1 + 1 file changed, 1 insertion(+) 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; };