From 59201feebe2cfeb09e06d6aa0b355e9ae3e1cd4b Mon Sep 17 00:00:00 2001 From: mccallum Date: Wed, 8 May 1996 14:53:02 +0000 Subject: [PATCH] (BITSPERBYTE): Define if not defined and on NeXT. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1513 72102866-910b-0410-8b05-ffd578937521 --- Source/BinaryCStream.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/BinaryCStream.m b/Source/BinaryCStream.m index b06bd5fd7..0d0a406e7 100644 --- a/Source/BinaryCStream.m +++ b/Source/BinaryCStream.m @@ -43,6 +43,10 @@ /* The value by which we multiply a float or double in order to bring mantissa digits to the left-hand-side of the decimal point, so that we can extra them by assigning the float or double to an int. */ +#if !defined(BITSPERBYTE) && defined(NeXT) +#include +#define BITSPERBYTE BYTE_SIZE +#endif #define FLOAT_FACTOR ((double)(1 << ((sizeof(int)*BITSPERBYTE)-2))) @implementation BinaryCStream