]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Move ISC_STRERRORSIZE to isc/strerr.h header
authorOndřej Surý <ondrej@sury.org>
Thu, 10 Jun 2021 06:08:09 +0000 (08:08 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 6 Jul 2021 05:33:48 +0000 (05:33 +0000)
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.

lib/isc/include/isc/platform.h.in
lib/isc/include/isc/strerr.h

index 5bf8ccc2141df1ee45341bd0ffa14f1840e2788b..73dbe80836c561f8e1956cad1f8e64470e646195 100644 (file)
  ***** Platform-dependent defines.
  *****/
 
-/***
- *** Default strerror_r buffer size
- ***/
-
-#define ISC_STRERRORSIZE 128
-
 /***
  *** System limitations
  ***/
index eebba510143ad80cb4c8f8df957c3af27dc55199..f2895986c2ae165c6350cdc82a2c0c0bc279f73f 100644 (file)
 
 #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) */