|
From: Andreas R. <and...@us...> - 2002-05-05 18:56:11
|
Update of /cvsroot/squeak/squeak/platforms/Cross/vm
In directory usw-pr-cvs1:/tmp/cvs-serv21660
Modified Files:
sqVirtualMachine.h
Log Message:
added 64 bit ints for MSVC
Index: sqVirtualMachine.h
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/Cross/vm/sqVirtualMachine.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** sqVirtualMachine.h 31 Jan 2002 21:32:28 -0000 1.3
--- sqVirtualMachine.h 5 May 2002 18:56:07 -0000 1.4
***************
*** 178,185 ****
* long long types but it suffices for the moment
*/
! #ifndef ACORN
! #define squeakInt64 long long
! #else
#define squeakInt64 long int
#endif
int (*positive64BitIntegerFor)(squeakInt64 integerValue);
--- 178,187 ----
* long long types but it suffices for the moment
*/
! #ifdef ACORN
#define squeakInt64 long int
+ #elif _MSC_VER
+ #define squeakInt64 __int64
+ #else
+ #define squeakInt64 long long
#endif
int (*positive64BitIntegerFor)(squeakInt64 integerValue);
|