Skip to content

Commit 85fc1d4

Browse files
Replace stddef.h by string.h in win32 platform specifics
For some reasons, <corecrt.h> fails to compile on my machine, but <stddef.h> fails on the C.I. The stack of uncompatible macros is getting really fragile... This commit is only a wild guess. IMO we should try and follow standards where possible.
1 parent 133e6ff commit 85fc1d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platforms/win32/vm/sqPlatformSpecific.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
#if defined(__MINGW32__) || defined(__MINGW64__)
2626
// vcruntime.h defines size_t for MSVC builds, but not for mingw builds.
27-
# include <stddef.h> // for size_t
27+
# include <string.h> // for size_t
2828
#endif
2929

3030
/* File positions in the FilePlugin & other plugins */

0 commit comments

Comments
 (0)