You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
439 B

--- a/lib/err/errPosix.c
+++ b/lib/err/errPosix.c
@@ -61,13 +61,7 @@ ErrErrno2String(Err_Number errorNumber,
char *buf, // OUT: return buffer
size_t bufSize) // IN: size of buffer
{
- char *p;
-
-#if defined(__linux__) && !defined(__ANDROID__)
- p = strerror_r(errorNumber, buf, bufSize);
-#else
- p = strerror(errorNumber);
-#endif
+ char *p = strerror(errorNumber);
ASSERT(p != NULL);
return p;
}