Signed-off-by: Martin Storsjö <[email protected]>
---
There's still probably lots of more defines that one could add, but
these ones at least fix building (one aspect of) a piece of code I
tried to build.
---
 mingw-w64-headers/include/sal.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/mingw-w64-headers/include/sal.h b/mingw-w64-headers/include/sal.h
index de4938fba..4848a768c 100644
--- a/mingw-w64-headers/include/sal.h
+++ b/mingw-w64-headers/include/sal.h
@@ -295,6 +295,10 @@
 #define _Deref_out_range_(low, hi)
 #define _Deref_inout_range_(low, hi)
 #define _Struct_size_bytes_(size)
+#define _Deref_out_
+#define _Deref_out_opt_
+#define _Deref_opt_out_
+#define _Deref_opt_out_opt_
 
 /* Function annotations */
 #define _Called_from_function_class_(name)
-- 
2.25.1



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to