Commit a226f7a
committed
aligned_alloc: remove old __MSVCRT_VERSION__ checks for mingw-w64
In upstream mingw-w64 the default value of __MSVCRT_VERSION__ was recently
changed from 0x700 to 0x600, causing boost/align to fall back to a
mingw-w64 provided _aligned_malloc for pre-winxp targets instead of using
the default one. See this for details:
mingw-w64/mingw-w64@90d3f33
_aligned_malloc is available in msvcrt.dll since WinXP, according to
https://github.com/mingw-w64/mingw-w64/blob/03d8a40f57649fbb773f1cdbe3a760f5e0943e76/mingw-w64-crt/lib-common/msvcrt.def.in#L1175-L1206,
so assuming boost/align does not support things older than WinXP, just remove
the checks and use one implementation for all of Windows instead.1 parent 5ad7df6 commit a226f7a
File tree
2 files changed
+1
-39
lines changed- include/boost/align
- detail
2 files changed
+1
-39
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 27 | | |
32 | 28 | | |
33 | 29 | | |
| |||
This file was deleted.
0 commit comments