Skip to content

Commit

Permalink
Replace obscure <corecrt.h> with standard <stddef.h> in win32 for size_t
Browse files Browse the repository at this point in the history
See https://en.cppreference.com/w/c/types/size_t
Hence, this may later become a generic solution rather than a platform specific one...
  • Loading branch information
nicolas-cellier-aka-nice committed Jan 11, 2021
1 parent eb4aa2e commit af72d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/win32/vm/sqPlatformSpecific.h
Expand Up @@ -24,7 +24,7 @@

#if defined(__MINGW32__) || defined(__MINGW64__)
// vcruntime.h defines size_t for MSVC builds, but not for mingw builds.
# include <corecrt.h> // for size_t
# include <stddef.h> // for size_t
#endif

/* File positions in the FilePlugin & other plugins */
Expand Down

0 comments on commit af72d3a

Please sign in to comment.