ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/src/sysdeps.h
(Generate patch)

Comparing mon/src/sysdeps.h (file contents):
Revision 1.3 by cebix, 2002-01-18T16:03:33Z vs.
Revision 1.4 by gbeauche, 2002-07-17T10:00:54Z

# Line 68 | Line 68 | typedef long int32;
68   #else
69   #error "No 4 byte type, you lose."
70   #endif
71 + #if SIZEOF_LONG == 8
72 + typedef unsigned long uint64;
73 + typedef long int64;
74 + #define VAL64(a) (a ## l)
75 + #define UVAL64(a) (a ## ul)
76 + #elif SIZEOF_LONG_LONG == 8
77 + typedef unsigned long long uint64;
78 + typedef long long int64;
79 + #define VAL64(a) (a ## LL)
80 + #define UVAL64(a) (a ## uLL)
81 + #else
82 + #error "No 8 byte type, you lose."
83 + #endif
84 + #if SIZEOF_VOID_P == 4
85 + typedef uint32 uintptr;
86 + typedef int32 intptr;
87 + #elif SIZEOF_VOID_P == 8
88 + typedef uint64 uintptr;
89 + typedef int64 intptr;
90 + #else
91 + #error "Unsupported size of pointer"
92 + #endif
93  
94   #endif  // def __BEOS__
95  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines