]> git.sur5r.net Git - openldap/blobdiff - include/lber_pvt.h
Obsoleted by RFC 1778
[openldap] / include / lber_pvt.h
index 471aa5b685fe5a7f5b2de1edf90f698a85575cf7..c407f4eab0a6a929d178161921c65b07cf490740 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 /*
  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
 
 LDAP_BEGIN_DECL
 
+#ifdef __MINGW32__
+#   undef LDAP_F_PRE
+#   ifdef LIBLBER_DECL
+#      define LDAP_F_PRE       extern __declspec(LIBLBER_DECL)
+#   else
+#      define LDAP_F_PRE       extern
+#   endif
+#endif
+
 /*
  * bprint.c
  */
@@ -29,7 +39,7 @@ ber_pvt_log_printf LDAP_P((
        int errlvl,
        int loglvl,
        const char *fmt,
-       ... ));
+       ... )) LDAP_GCCATTR((format(printf, 3, 4)));
 
 LDAP_END_DECL