Commit feedfb7
committed
fix(Foundation): add missing <limits> include in SharedMemory_WIN32 (#5176)
std::numeric_limits<DWORD> is used in the Win32 path but <limits> was
never included directly, causing build failures when cross-compiling
from Linux (e.g. MinGW on Debian 12) where the header is not pulled
in transitively.
Also use explicit null-pointer comparisons for HANDLE/LPVOID checks.1 parent 009a71f commit feedfb7
File tree
1 file changed
+4
-3
lines changed- Foundation/src
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | | - | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | | - | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
131 | | - | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| |||
0 commit comments