From: Howard Chu Date: Sat, 7 Sep 2002 14:05:17 +0000 (+0000) Subject: stdio #defines for HAVE_EBCDIC X-Git-Tag: NO_SLAP_OP_BLOCKS~1012 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f54de4360b29746147924011d0258df99ec5dfb3;p=openldap stdio #defines for HAVE_EBCDIC --- diff --git a/acconfig.h b/acconfig.h index 069921ee22..cdd82b766f 100644 --- a/acconfig.h +++ b/acconfig.h @@ -95,6 +95,19 @@ #define LDAP_DEBUG #endif +#ifdef HAVE_EBCDIC +/* ASCII/EBCDIC converting replacements for stdio funcs + * vsnprintf and snprintf are used too, but they are already + * checked by the configure script + */ +#define fputs lutil_fputs +#define fgets lutil_fgets +#define printf lutil_printf +#define fprintf lutil_fprintf +#define vfprintf lutil_vfprintf +#define vsprintf lutil_vsprintf +#endif + #include "ldap_cdefs.h" #include "ldap_features.h"