Moved the LDAP API defines from Makefile.Watcom to config-win32.h.

These defines are only needed for older Watcom versions (< 1280).
This commit is contained in:
Guenter Knauf
2010-08-02 01:24:04 +02:00
parent f38e52071e
commit b01fb30f9c
2 changed files with 7 additions and 1 deletions

View File

@@ -550,6 +550,13 @@
#define CURL_LDAP_WIN 1
#endif
#if defined(__WATCOMC__) && defined(CURL_LDAP_WIN)
#if __WATCOMC__ < 1280
#define WINBERAPI __declspec(cdecl)
#define WINLDAPAPI __declspec(cdecl)
#endif
#endif
#if defined(__POCC__) && defined(CURL_LDAP_WIN)
# define CURL_DISABLE_LDAP 1
#endif