mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
Remove old DLL IMPORT/EXPORT macros
This commit is contained in:
parent
79b31f63c2
commit
e56a2a8d78
@ -48,21 +48,14 @@
|
|||||||
|
|
||||||
#endif /* no prototypes */
|
#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
|
#if (__GNUC__) * 1000 + (__GNUC_MINOR__) >= 2006
|
||||||
# define LDAP_GCCATTR(attrs) __attribute__(attrs)
|
# define LDAP_GCCATTR(attrs) __attribute__(attrs)
|
||||||
#else
|
#else
|
||||||
# define LDAP_GCCATTR(attrs)
|
# define LDAP_GCCATTR(attrs)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Proper support for NT dynamic libraries. */
|
|
||||||
|
/* Support for NT dynamic libraries. */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* C library. Mingw32 links with the C run-time library by default,
|
* C library. Mingw32 links with the C run-time library by default,
|
||||||
|
Loading…
Reference in New Issue
Block a user