0022-mingw32-Enable-operation_not_supported.patch 982 B

1234567891011121314151617181920212223242526
  1. From 061cf79e7b6e89fdf0f2630ddaebbf1d7b271ac3 Mon Sep 17 00:00:00 2001
  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. Fixes nativesdk build errors on mingw32 gcc-runtime
  6. Upstream-Status: Pending
  7. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  8. ---
  9. libstdc++-v3/config/os/mingw32/error_constants.h | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/libstdc++-v3/config/os/mingw32/error_constants.h b/libstdc++-v3/config/os/mingw32/error_constants.h
  12. index da5f4c2ac85..e855c86267c 100644
  13. --- a/libstdc++-v3/config/os/mingw32/error_constants.h
  14. +++ b/libstdc++-v3/config/os/mingw32/error_constants.h
  15. @@ -107,7 +107,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
  16. #ifdef EPERM
  17. operation_not_permitted = EPERM,
  18. #endif
  19. -// operation_not_supported = EOPNOTSUPP,
  20. + operation_not_supported = EOPNOTSUPP,
  21. #ifdef EWOULDBLOCK
  22. operation_would_block = EWOULDBLOCK,
  23. #endif