Skip to content

Commit

Permalink
When building without exceptions with MSVC, malloc.h is required for …
Browse files Browse the repository at this point in the history
…alloca
  • Loading branch information
VA-GS committed Oct 3, 2024
1 parent cc75300 commit f314f89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions serialize.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
#ifdef _MSC_VER
#pragma warning( disable : 4127 )
#pragma warning( disable : 4244 )
#include <malloc.h>
#endif // #ifdef _MSC_VER

#include <stdint.h>
Expand Down

0 comments on commit f314f89

Please sign in to comment.