[CDRIVER-2138] Libbson bson-decimal.c should not include stdint.h directly Created: 21/Apr/17 Updated: 28/Oct/23 Resolved: 24/Apr/17 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libbson |
| Affects Version/s: | 1.6.2 |
| Fix Version/s: | 1.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Shane Harvey | Assignee: | Shane Harvey |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
bson-decimal128.c should not be including stdint.h directly. Directly including stdint.h is less portable than relying on bson-compat.h which bson-decimal128.c already includes. This is causing python-bsonjs builds to fail on old versions of Visual Studio that don't provide stdint.h. |
| Comments |
| Comment by Githook User [ 22/Apr/17 ] |
|
Author: {'name': 'Shane Harvey', 'username': 'ShaneHarvey', 'email': 'shane.harvey@mongodb.com'}Message: |
| Comment by Shane Harvey [ 21/Apr/17 ] |
|
Pull request: https://github.com/mongodb/libbson/pull/190 |