On Thu, Jun 27, 2002 at 03:48:34PM +0200, [EMAIL PROTECTED] wrote: > Modified: . Tag: BRANCH_WIN64 e_os.h > Log: > 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.
> --- e_os.h 2002/06/13 20:41:50 1.61 > +++ e_os.h 2002/06/27 13:48:22 1.61.2.1 > @@ -222,7 +222,11 @@ > # include <io.h> > # include <fcntl.h> > > -# define ssize_t long > +# ifdef _WIN64 > +# define ssize_t size_t > +# else > +# define ssize_t long > +# endif > > # if defined (__BORLANDC__) > # define _setmode setmode > I'm pretty sure that this will break the logic of some of the code. 'long long' should work if it is available. -- Bodo Möller <[EMAIL PROTECTED]> PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html * TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt * Tel. +49-6151-16-6628, Fax +49-6151-16-6036 ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]