forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit53ea2b7
committed
Don't use _BitScanForward64/_BitScanReverse64 on 32-bit MSVC builds
6773197 added support for making use of MSVC's bit scanning functions.However, that commit failed to consider 32-bit MSVC builds where the64-bit versions of these functions are unavailable. This resulted incompilation failures on 32-bit MSVC.Here we adjust the code so we fall back on the manual way of finding thebit positions for 64-bit integers when building on 32-bit MSVC.Bug: #17967Reported-by: Youmiu MoDiscussion:https://postgr.es/m/17967-cd21e34a314141b2@postgresql.org1 parentf245236 commit53ea2b7
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
84 |
| - | |
| 84 | + | |
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
| |||
152 | 152 |
| |
153 | 153 |
| |
154 | 154 |
| |
155 |
| - | |
| 155 | + | |
156 | 156 |
| |
157 | 157 |
| |
158 | 158 |
| |
|
0 commit comments
Comments
(0)