krb5: Fix -Wint-conversion when bootstrapping on GNU/Linux
This shows up in GitHub Actions as a warning, and some compilers can default to it being an error.
This commit is contained in:
@@ -691,7 +691,12 @@
|
|||||||
#define STDC_HEADERS 1
|
#define STDC_HEADERS 1
|
||||||
|
|
||||||
/* Define to 1 if strerror_r returns char *. */
|
/* Define to 1 if strerror_r returns char *. */
|
||||||
|
#ifdef __GLIBC__
|
||||||
|
/* Bootstrapping on GNU/Linux */
|
||||||
|
#define STRERROR_R_CHAR_P 1
|
||||||
|
#else
|
||||||
/* #undef STRERROR_R_CHAR_P */
|
/* #undef STRERROR_R_CHAR_P */
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define if sys_errlist is defined in errno.h */
|
/* Define if sys_errlist is defined in errno.h */
|
||||||
#define SYS_ERRLIST_DECLARED 1
|
#define SYS_ERRLIST_DECLARED 1
|
||||||
|
|||||||
Reference in New Issue
Block a user