projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
218747d
)
Avoid syntax error on platforms that have neither LOCALE_T nor ICU.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 24 Mar 2017 03:18:52 +0000
(23:18 -0400)
committer
Tom 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
patch
|
blob
|
blame
|
history
diff --git
a/src/include/utils/pg_locale.h
b/src/include/utils/pg_locale.h
index 12d7547413847a3d7efbeb5575108e20b3358fe0..85eb9d71fdc7aa61874960a66bc97d43f01f6e38 100644
(file)
--- 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;
};