Patrick Williams | 2194f50 | 2022-10-16 14:26:09 -0500 | [diff] [blame^] | 1 | From 7bc34769f0b055e25286576e4ba6d211e8159834 Mon Sep 17 00:00:00 2001 |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 12 May 2020 10:39:09 -0700 |
| 4 | Subject: [PATCH] mingw32: Enable operation_not_supported |
| 5 | |
| 6 | Fixes nativesdk build errors on mingw32 gcc-runtime |
| 7 | |
| 8 | Upstream-Status: Pending |
| 9 | Signed-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 | |
| 14 | diff --git a/libstdc++-v3/config/os/mingw32/error_constants.h b/libstdc++-v3/config/os/mingw32/error_constants.h |
| 15 | index eca06a97014..933cfab49cf 100644 |
| 16 | --- 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 |
| 19 | #ifdef EPERM |
| 20 | operation_not_permitted = EPERM, |
| 21 | #endif |
| 22 | -// operation_not_supported = EOPNOTSUPP, |
| 23 | + operation_not_supported = EOPNOTSUPP, |
| 24 | #ifdef EWOULDBLOCK |
| 25 | operation_would_block = EWOULDBLOCK, |
| 26 | #endif |