git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/replace: Do not use STRERROR_R_PROTO_COMPATIBLE as only roken.h sets this
[metze/samba/wip.git]
/
lib
/
replace
/
replace.c
diff --git
a/lib/replace/replace.c
b/lib/replace/replace.c
index 7ee5f4bc1e750b36f4670e67b59bd8be389b6a98..f37d69f36543e86d56baac7dd03cec6ef49944e2 100644
(file)
--- a/
lib/replace/replace.c
+++ b/
lib/replace/replace.c
@@
-785,7
+785,7
@@
char *rep_get_current_dir_name(void)
}
#endif
-#if !defined(HAVE_STRERROR_R)
|| !defined(STRERROR_R_PROTO_COMPATIBLE
)
+#if !defined(HAVE_STRERROR_R)
&& !defined(strerror_r
)
int rep_strerror_r(int errnum, char *buf, size_t buflen)
{
char *s = strerror(errnum);