Skip to content

Commit

Permalink
Merge pull request #5 from VA-GS/main
Browse files Browse the repository at this point in the history
When building without exceptions with MSVC, malloc.h is required for alloca
  • Loading branch information
gafferongames authored Oct 3, 2024
2 parents cc75300 + f314f89 commit ae94583
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 ae94583

Please sign in to comment.