diff options
Diffstat (limited to 'community/mongodb/fix-strerror_r.patch')
-rw-r--r-- | community/mongodb/fix-strerror_r.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/community/mongodb/fix-strerror_r.patch b/community/mongodb/fix-strerror_r.patch deleted file mode 100644 index 172c7fefac..0000000000 --- a/community/mongodb/fix-strerror_r.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- mongodb-src-r4.0.0/src/mongo/util/errno_util.cpp.orig -+++ mongodb-src-r4.0.0/src/mongo/util/errno_util.cpp -@@ -58,9 +58,7 @@ - char buf[kBuflen]; - char* msg{nullptr}; - --#if defined(__GNUC__) && defined(_GNU_SOURCE) && (__ANDROID_API__ > 22) -- msg = strerror_r(errNumber, buf, kBuflen); --#elif defined(_WIN32) -+#if defined(_WIN32) - - LPWSTR errorText = nullptr; - FormatMessageW(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER | |