Skip to content

Commit 457a444

Browse files
committed
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.
1 parent 218747d commit 457a444

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/include/utils/pg_locale.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ struct pg_locale_t
8080
UCollator *ucol;
8181
} icu;
8282
#endif
83+
int dummy; /* in case we have neither LOCALE_T nor ICU */
8384
} info;
8485
};
8586

0 commit comments

Comments
 (0)