]> git.sur5r.net Git - openldap/commitdiff
stdio #defines for HAVE_EBCDIC
authorHoward Chu <hyc@openldap.org>
Sat, 7 Sep 2002 14:05:17 +0000 (14:05 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 7 Sep 2002 14:05:17 +0000 (14:05 +0000)
acconfig.h

index 069921ee227a9759dde02f448bfd59194588c6d8..cdd82b766f420780659e68f120412457b4c2d0c8 100644 (file)
 #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"