forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit91a1651
committed
Ensure HAVE_DECL_XXX macros in MSVC builds match those in Unix.
Autoconf's AC_CHECK_DECLS() always defines HAVE_DECL_whateveras 1 or 0, but some of the entries in msvc/Solution.pm showedsuch symbols as "undef" instead of 0. Fix that for consistency.There's no live bug in current usages AFAICS, but it's not hardto imagine one creeping in if more-complex #if tests get added.Back-patch to v13, which is as far back as Solution.pm containsthis data. The inconsistency still exists in the manually-filledpg_config_ext.h.win32 files of older branches; but as long as theproblem is only latent, it doesn't seem worth the trouble toclean things up there.Discussion:https://postgr.es/m/3185430.1626133592@sss.pgh.pa.us1 parent5226243 commit91a1651
1 file changed
+5
-5
lines changedLines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
229 | 229 |
| |
230 | 230 |
| |
231 | 231 |
| |
232 |
| - | |
233 |
| - | |
| 232 | + | |
| 233 | + | |
234 | 234 |
| |
235 | 235 |
| |
236 | 236 |
| |
237 |
| - | |
| 237 | + | |
238 | 238 |
| |
239 | 239 |
| |
240 |
| - | |
241 |
| - | |
| 240 | + | |
| 241 | + | |
242 | 242 |
| |
243 | 243 |
| |
244 | 244 |
| |
|
0 commit comments
Comments
(0)