mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
Move ISC_STRERRORSIZE to isc/strerr.h header
The ISC_STRERRORSIZE was defined in isc/platform.h header as the value was different between Windows and POSIX platforms. Now that Windows is gone, move the define to where it belongs.
This commit is contained in:
parent
d881e30b0a
commit
4da0c49e80
@ -18,12 +18,6 @@
|
||||
***** Platform-dependent defines.
|
||||
*****/
|
||||
|
||||
/***
|
||||
*** Default strerror_r buffer size
|
||||
***/
|
||||
|
||||
#define ISC_STRERRORSIZE 128
|
||||
|
||||
/***
|
||||
*** System limitations
|
||||
***/
|
||||
|
@ -15,6 +15,12 @@
|
||||
|
||||
#include <isc/string.h>
|
||||
|
||||
/***
|
||||
*** Default strerror_r buffer size
|
||||
***/
|
||||
|
||||
#define ISC_STRERRORSIZE 128
|
||||
|
||||
#if defined(strerror_r)
|
||||
#undef strerror_r
|
||||
#endif /* if defined(strerror_r) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user