From f54de4360b29746147924011d0258df99ec5dfb3 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 7 Sep 2002 14:05:17 +0000 Subject: [PATCH] stdio #defines for HAVE_EBCDIC --- acconfig.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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" -- 2.39.2