]> git.sur5r.net Git - openldap/blobdiff - acconfig.h
Ensure that global plugins are called after backend-specific plugins
[openldap] / acconfig.h
index e07f8350e6b2d99cb2415e9bcf76ffd5b613c009..42ae54b229ce428c81d29a23d1984d51e4a43d8b 100644 (file)
@@ -1,10 +1,10 @@
 /*
- * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
+ * Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted only as authorized by the OpenLDAP
- * Public License.  A copy of this license is available at
+ * Public License.  A copy of this license is available at
  * http://www.OpenLDAP.org/license.html or in file LICENSE in the
  * top-level directory of the distribution.
  */
 #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 ber_pvt_fputs
+#define fgets ber_pvt_fgets
+#define printf ber_pvt_printf
+#define fprintf ber_pvt_fprintf
+#define vfprintf ber_pvt_vfprintf
+#define vsprintf ber_pvt_vsprintf
+#endif
+
 #include "ldap_cdefs.h"
 #include "ldap_features.h"