]> git.sur5r.net Git - openldap/blobdiff - include/ldap_cdefs.h
cleanup old TOOLID macro
[openldap] / include / ldap_cdefs.h
index 85de67933570599419a1064da73ca8b6896fda84..c4e78b4cc2023d3b785a54e6d838779014b1f090 100644 (file)
@@ -1,6 +1,6 @@
 /* $OpenLDAP$ */
 /*
- * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
+ * Copyright 1998-2000 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms are permitted only
 
 #endif /* no prototypes */
 
-#if _WIN32 && _DLL
-#      define LDAP_F_IMPORT    extern __declspec( dllimport )
-#      define LDAP_F_EXPORT    extern __declspec( dllexport )
-#else
-#      define LDAP_F_IMPORT    extern
-#      define LDAP_F_EXPORT    extern
-#endif
-
 #if (__GNUC__) * 1000 + (__GNUC_MINOR__) >= 2006
 #      define LDAP_GCCATTR(attrs)      __attribute__(attrs)
 #else
 #      define LDAP_GCCATTR(attrs)
 #endif
 
-/* Proper support for NT dynamic libraries. */
+
+/* Support for NT dynamic libraries. */
 
 /*
  * C library. Mingw32 links with the C run-time library by default,
 #      define LIBLUTIL_F(type) extern type
 #endif
 
-/* SLAPD (as a module exporting symbols */
+/* SLAPD (as a module exporting symbols) */
 #if defined(LIBSLAPD_DECL) && defined(_WIN32)
 #      define LIBSLAPD_F(type) extern __declspec(LIBSLAPD_DECL) type
 #else