Fix strerror_r conflict.

This commit is contained in:
Jimmy Olgeni 2002-02-07 20:52:33 +00:00
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

View 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.

View 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.