From: Rich Salz <[EMAIL PROTECTED]> rsalz> > I would have much rsalz> > prefered if the whole __declspec() business could be magically taken rsalz> > away, but it doesn't look like a possibility... rsalz> rsalz> I don't think that's possible -- you don't normally get magic #define's rsalz> turned on for DLL vs static, e.g. rsalz> rsalz> On the other hand, I'd like to see it like this: rsalz> #ifdef OPENSSL_STATIC_LIB rsalz> #define OPENSSL_EXTERN extern rsalz> #endif rsalz> #ifndef OPENSSL_EXTERN rsalz> #define OPENSSL_EXTERN OPENSSL_IMPORT rsalz> #endif rsalz> rsalz> That would let folks define OPENSSL_EXTERN via -D (or /D or /def) flags That's a good idea. Thanks. -- Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED] Chairman@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47 Redakteur@Stacken \ SWEDEN \ or +46-709-50 36 10 Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED] Member of the OpenSSL development team: http://www.openssl.org/ Software Engineer, Celo Communications: http://www.celocom.com/ Unsolicited commercial email is subject to an archival fee of $400. See <http://www.stacken.kth.se/~levitte/mail/> for more info. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: __declspec(dllexport) and __declspec(dllimport)
Richard Levitte - VMS Whacker Sun, 04 Mar 2001 05:11:31 -0800
- __declspec(dllexport) and __declspec(dllimpo... Richard Levitte - VMS Whacker
- Re: __declspec(dllexport) and __declspe... Dr S N Henson
- Re: __declspec(dllexport) and __declspe... Richard Levitte - VMS Whacker
- Re: __declspec(dllexport) and __declspe... Rich Salz
- Richard Levitte - VMS Whacker
