Skip to content

Commit 9753a2c

Browse files
authored
Merge pull request #19510 from mpirvu/bb_malloc
Protect malloc.h inclusion with #ifdef LINUX
2 parents a56cbdf + 4838f39 commit 9753a2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

runtime/compiler/control/HookedByTheJit.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222

2323
#include <algorithm>
2424
#include <limits.h>
25+
#ifdef LINUX
2526
#include <malloc.h>
27+
#endif // LINUX
2628
#include <stdarg.h>
2729
#include "bcnames.h"
2830
#include "jithash.h"

0 commit comments

Comments
 (0)