Skip to content

Commit

Permalink
Merge pull request #161 from g-maxime/include
Browse files Browse the repository at this point in the history
Replace new by cstddef for size_t definition
  • Loading branch information
JeromeMartinez authored Nov 10, 2024
2 parents b896492 + dee775b commit 4e2a686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ZenLib/Conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
//---------------------------------------------------------------------------
//(-1) is known to be the MAX of an unsigned int but GCC complains about it
#ifdef __cplusplus
#include <new> //for size_t
#include <cstddef> //for size_t
#else /* __cplusplus */
#include <stddef.h> //for size_t
#endif /* __cplusplus */
Expand Down

0 comments on commit 4e2a686

Please sign in to comment.