forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite529b2d
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 parent0da3c1b commite529b2d
1 file changed
+5
-5
lines changedLines changed: 5 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
239 | 239 |
| |
240 | 240 |
| |
241 | 241 |
| |
242 |
| - | |
243 |
| - | |
| 242 | + | |
| 243 | + | |
244 | 244 |
| |
245 | 245 |
| |
246 | 246 |
| |
247 |
| - | |
| 247 | + | |
248 | 248 |
| |
249 | 249 |
| |
250 | 250 |
| |
251 | 251 |
| |
252 | 252 |
| |
253 |
| - | |
254 |
| - | |
| 253 | + | |
| 254 | + | |
255 | 255 |
| |
256 | 256 |
| |
257 | 257 |
| |
|
0 commit comments
Comments
(0)