cc-ed jogerh (author of previous commit) and RyanVM (reporter)
From 23a11153b530e53010026285fb1d896b977418d6 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <[email protected]>
Date: Thu, 6 Mar 2025 07:20:54 +0000
Subject: [PATCH] headers: Use proper header file for std::nullptr_t
This fixes the following compiler error in gecko/gfx/angle.
include/wrl/client.h:275:45: error: use of undeclared identifier 'std'
275 | bool operator==(const ComPtr<T> &a, std::nullptr_t) throw()
| ^
include/wrl/client.h:281:25: error: use of undeclared identifier 'std'
281 | bool operator==(std::nullptr_t, const ComPtr<T> &a) throw()
| ^
Signed-off-by: Biswapriyo Nath <[email protected]>
---
mingw-w64-headers/include/wrl/client.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mingw-w64-headers/include/wrl/client.h b/mingw-w64-headers/include/wrl/client.h
index f71ccd9..07cedbe 100644
--- a/mingw-w64-headers/include/wrl/client.h
+++ b/mingw-w64-headers/include/wrl/client.h
@@ -7,7 +7,7 @@
#ifndef _WRL_CLIENT_H_
#define _WRL_CLIENT_H_
-#include <stddef.h>
+#include <cstddef>
#include <unknwn.h>
/* #include <weakreference.h> */
#include <roapi.h>
--
2.48.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public