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.2 by cebix, 2000-10-15T15:07:16Z vs.
Revision 1.6 by cebix, 2004-02-12T17:18:03Z

# Line 1 | Line 1
1   /*
2   *  sysdeps.h - System dependent definitions
3   *
4 < *  cxmon (C) 1997-2000 Christian Bauer, Marc Hellwig
4 > *  cxmon (C) 1997-2004 Christian Bauer, Marc Hellwig
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# 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