diff options
author | Guenter Knauf <lists@gknw.net> | 2010-08-02 01:24:04 +0200 |
---|---|---|
committer | Guenter Knauf <lists@gknw.net> | 2010-08-02 01:28:46 +0200 |
commit | b01fb30f9cf9f456be59381adbbac24fb98c30d0 (patch) | |
tree | 5daaf179b9ad3db52bc1b4d9747ce14e56164937 /lib/config-win32.h | |
parent | f38e52071e19dc16cf59c1719f37ec555b4c75b5 (diff) | |
download | curl-b01fb30f9cf9f456be59381adbbac24fb98c30d0.tar.gz |
Moved the LDAP API defines from Makefile.Watcom to config-win32.h.
These defines are only needed for older Watcom versions (< 1280).
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r-- | lib/config-win32.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h index 7d0f8c60b..5ee76065d 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -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 |