Skip to content

Commit f8dea4c

Browse files
committed
Headers: prefer corecrt_malloc.h to malloc.h
This allows us to target a lower level library (corecrt) rather than the higher level library (ucrt) which can be helpful in mordularising the SDK.
1 parent 2e6402c commit f8dea4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Headers/mm_malloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <stdlib.h>
1414

1515
#ifdef _WIN32
16-
#include <malloc.h>
16+
#include <corecrt_malloc.h>
1717
#else
1818
#ifndef __cplusplus
1919
extern int posix_memalign(void **__memptr, size_t __alignment, size_t __size);

0 commit comments

Comments
 (0)