3291. [port] Fixed a build error on systems without ENOTSUP.
[RT #28200]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
||||
3291. [port] Fixed a build error on systems without ENOTSUP.
|
||||
[RT #28200]
|
||||
|
||||
3290. [bug] <isc/hmacsha.h> was not being installed. [RT #28169]
|
||||
|
||||
3287. [port] Update ans.pl to work with Net::DNS 0.68. [RT #28028]
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: stdio.c,v 1.8.332.3 2011/12/22 08:53:32 marka Exp $ */
|
||||
/* $Id: stdio.c,v 1.8.332.4 2012/02/29 21:27:09 each Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -105,6 +105,13 @@ isc_stdio_flush(FILE *f) {
|
||||
return (isc__errno2result(errno));
|
||||
}
|
||||
|
||||
/*
|
||||
* OpenBSD has deprecated ENOTSUP in favor of EOPNOTSUPP.
|
||||
*/
|
||||
#if defined(EOPNOTSUPP) && !defined(ENOTSUP)
|
||||
#define ENOTSUP EOPNOTSUPP
|
||||
#endif
|
||||
|
||||
isc_result_t
|
||||
isc_stdio_sync(FILE *f) {
|
||||
int r;
|
||||
|
||||
Reference in New Issue
Block a user