blob: f88ad51ee8aa66bd1348b63f862caf53539800b6 [file] [log] [blame]
Andrew Geisslerd5838332022-05-27 11:33:10 -05001From 061cf79e7b6e89fdf0f2630ddaebbf1d7b271ac3 Mon Sep 17 00:00:00 2001
Andrew Geisslerc182c622020-05-15 14:13:32 -05002From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 12 May 2020 10:39:09 -0700
4Subject: [PATCH] mingw32: Enable operation_not_supported
5
6Fixes nativesdk build errors on mingw32 gcc-runtime
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 libstdc++-v3/config/os/mingw32/error_constants.h | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/libstdc++-v3/config/os/mingw32/error_constants.h b/libstdc++-v3/config/os/mingw32/error_constants.h
Andrew Geisslerd5838332022-05-27 11:33:10 -050015index da5f4c2ac85..e855c86267c 100644
Andrew Geisslerc182c622020-05-15 14:13:32 -050016--- a/libstdc++-v3/config/os/mingw32/error_constants.h
17+++ b/libstdc++-v3/config/os/mingw32/error_constants.h
18@@ -107,7 +107,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
Andrew Geisslerc926e172021-05-07 16:11:35 -050019 #ifdef EPERM
Andrew Geisslerc182c622020-05-15 14:13:32 -050020 operation_not_permitted = EPERM,
21 #endif
22-// operation_not_supported = EOPNOTSUPP,
23+ operation_not_supported = EOPNOTSUPP,
Andrew Geisslerc926e172021-05-07 16:11:35 -050024 #ifdef EWOULDBLOCK
Andrew Geisslerc182c622020-05-15 14:13:32 -050025 operation_would_block = EWOULDBLOCK,
26 #endif