https://git.reactos.org/?p=reactos.git;a=commitdiff;h=864aed6bcd87b377cb90b…
commit 864aed6bcd87b377cb90b5074485d046a808b03c
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Thu Feb 8 17:15:58 2024 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Thu Feb 8 17:48:58 2024 +0100
[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.
---
sdk/include/crt/malloc.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sdk/include/crt/malloc.h b/sdk/include/crt/malloc.h
index 77854f3b7c7..16329997837 100644
--- a/sdk/include/crt/malloc.h
+++ b/sdk/include/crt/malloc.h
@@ -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 */