Fix strerror_r conflict.
This commit is contained in:
parent
bfe6ae6220
commit
90fe751c8d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54320
2 changed files with 36 additions and 0 deletions
18
lang/erlang/files/patch-al
Normal file
18
lang/erlang/files/patch-al
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- erl_error.c.orig Thu Feb 7 21:29:56 2002
|
||||
+++ erl_error.c Thu Feb 7 21:32:55 2002
|
||||
@@ -177,6 +177,7 @@
|
||||
}
|
||||
#endif /* !HAVE_STRERROR */
|
||||
|
||||
+#ifdef 0
|
||||
#ifndef HAVE_STRERROR_R
|
||||
/*
|
||||
* A reentrant form of strerror. It's a GNU extension originally.
|
||||
@@ -218,6 +219,7 @@
|
||||
return buf;
|
||||
}
|
||||
#endif /* !HAVE_STRERROR_R */
|
||||
+#endif
|
||||
|
||||
|
||||
/* Print a message and return to caller.
|
18
lang/erlang14/files/patch-al
Normal file
18
lang/erlang14/files/patch-al
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- erl_error.c.orig Thu Feb 7 21:29:56 2002
|
||||
+++ erl_error.c Thu Feb 7 21:32:55 2002
|
||||
@@ -177,6 +177,7 @@
|
||||
}
|
||||
#endif /* !HAVE_STRERROR */
|
||||
|
||||
+#ifdef 0
|
||||
#ifndef HAVE_STRERROR_R
|
||||
/*
|
||||
* A reentrant form of strerror. It's a GNU extension originally.
|
||||
@@ -218,6 +219,7 @@
|
||||
return buf;
|
||||
}
|
||||
#endif /* !HAVE_STRERROR_R */
|
||||
+#endif
|
||||
|
||||
|
||||
/* Print a message and return to caller.
|
Loading…
Reference in a new issue