2
0
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:
Ondřej Surý 2021-06-10 08:08:09 +02:00 committed by Ondřej Surý
parent d881e30b0a
commit 4da0c49e80
2 changed files with 6 additions and 6 deletions

View File

@ -18,12 +18,6 @@
***** Platform-dependent defines.
*****/
/***
*** Default strerror_r buffer size
***/
#define ISC_STRERRORSIZE 128
/***
*** System limitations
***/

View File

@ -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) */