Skip to content

Commit

Permalink
Re-introduce HAVE_MALLOC_H load guard for malloc.h
Browse files Browse the repository at this point in the history
In order to prevent the attempted inclusion of `malloc.h` when we're
building with jemalloc preloaded

[Bug #20928]
  • Loading branch information
eightbitraptor committed Dec 3, 2024
1 parent 757303f commit fbe0532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gc.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
# define HAVE_MALLOC_USABLE_SIZE
# define malloc_usable_size(a) malloc_size(a)
# endif
#else
#elif defined(HAVE_MALLOC_H)
# include <malloc.h>
#endif

Expand Down

0 comments on commit fbe0532

Please sign in to comment.