https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b75d476bb7b85aaf4e67abae1582c2732c7bc136

commit b75d476bb7b85aaf4e67abae1582c2732c7bc136
Author:     Timo Kreuzer <[email protected]>
AuthorDate: Tue May 14 09:18:43 2024 +0300
Commit:     Timo Kreuzer <[email protected]>
CommitDate: Sat Nov 16 20:01:49 2024 +0200

    [VCRUNTIME] Add __nullptr definition for non-MSVC compilers
---
 sdk/include/vcruntime/_mingw.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sdk/include/vcruntime/_mingw.h b/sdk/include/vcruntime/_mingw.h
index 06e0c62176b..988b64f1dbb 100644
--- a/sdk/include/vcruntime/_mingw.h
+++ b/sdk/include/vcruntime/_mingw.h
@@ -262,6 +262,10 @@ allow GCC to optimize away some EH unwind code, at least 
in DW2 case.  */
 #  define __mingw_ovr static __cdecl
 #endif /* __cplusplus */
 
+#if defined(__cplusplus) && !defined(_MSC_VER)
+#define __nullptr nullptr
+#endif
+
 #include "_mingw_mac.h"
 
 #endif /* !_INC_MINGW */

Reply via email to