[SDK:CRT] malloc.h: Use MS PSDK-compatible guard name instead of MinGW one.

Use the MS PSDK-compatible name _INC_MALLOC, instead of the MinGW one
_MALLOC_H_, so that code that may depend on this to determine whether
malloc.h functions are defined, can compile without problems.
This commit is contained in:
Hermès Bélusca-Maïto 2024-02-08 17:15:58 +01:00
parent 362804169d
commit 864aed6bcd
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -3,8 +3,8 @@
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/
#ifndef _MALLOC_H_
#define _MALLOC_H_
#ifndef _INC_MALLOC
#define _INC_MALLOC
#include <crtdefs.h>
@ -383,4 +383,4 @@ extern "C" {
#pragma pack(pop)
#endif /* _MALLOC_H_ */
#endif /* _INC_MALLOC */