In message <[EMAIL PROTECTED]> on Thu, 27 Jun 2002 16:03:03 +0200, Bodo Moeller <[EMAIL PROTECTED]> said:
moeller> On Thu, Jun 27, 2002 at 03:48:34PM +0200, [EMAIL PROTECTED] wrote: moeller> moeller> > Modified: . Tag: BRANCH_WIN64 e_os.h moeller> > Log: moeller> > With Win64, define ssize_t as size_t. This is a very odd thing to do, really, since size_t is supposed to be unsigned while ssize_t is supposed to be signed. However, this will have to do until I know more in this matter. moeller> moeller> > --- e_os.h 2002/06/13 20:41:50 1.61 moeller> > +++ e_os.h 2002/06/27 13:48:22 1.61.2.1 moeller> > @@ -222,7 +222,11 @@ moeller> > # include <io.h> moeller> > # include <fcntl.h> moeller> > moeller> > -# define ssize_t long moeller> > +# ifdef _WIN64 moeller> > +# define ssize_t size_t moeller> > +# else moeller> > +# define ssize_t long moeller> > +# endif moeller> > moeller> > # if defined (__BORLANDC__) moeller> > # define _setmode setmode moeller> > moeller> moeller> I'm pretty sure that this will break the logic of some of the code. moeller> 'long long' should work if it is available. >From what I understood of what John says, it's not, or at least not easily. Perhaps __int64 (or whatever it's called) is a better choice. In any case, because of the #ifdef, this would only "break" on Win64, so I'm not too bothered for now... -- Richard Levitte \ Spannvägen 38, II \ [EMAIL PROTECTED] Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47 \ SWEDEN \ or +46-708-26 53 44 Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED] Member of the OpenSSL development team: http://www.openssl.org/ 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]