]> granicus.if.org Git - postgresql/commitdiff
Avoid syntax error on platforms that have neither LOCALE_T nor ICU.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 24 Mar 2017 03:18:52 +0000 (23:18 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 24 Mar 2017 03:18:52 +0000 (23:18 -0400)
Buildfarm member anole sees this union as empty, and doesn't like it.

src/include/utils/pg_locale.h

index 12d7547413847a3d7efbeb5575108e20b3358fe0..85eb9d71fdc7aa61874960a66bc97d43f01f6e38 100644 (file)
@@ -80,6 +80,7 @@ struct pg_locale_t
                        UCollator *ucol;
                } icu;
 #endif
+               int                     dummy;          /* in case we have neither LOCALE_T nor ICU */
        } info;
 };