[kaffe] patch for freebsd 4.x to config/i386/atomic.h

Supreet Sethi supreet at linux-delhi.org
Wed Mar 23 05:00:29 PST 2005


Patch for compiling kaffe for freebsd 4.x platform on i386


regards

Supreet
-------------- next part --------------
Index: config/i386/atomic.h
===================================================================
RCS file: /cvs/kaffe/kaffe/config/i386/atomic.h,v
retrieving revision 1.1
diff -r1.1 atomic.h
19a20,22
> #if  defined(__FreeBSD__) && (__FreeBSD__ == 4)
> #include <inttypes.h>
> #else
21c24
< 
---
> #endif
24a28,31
> #if defined(__FreeBSD__) && (__FreeBSD__== 4)
> typedef int8_t atomic_fast8_t;
> typedef uint8_t uatomic_fast8_t;
> #else
27c34
< 
---
> #endif
29a37,40
> #if defined(__FreeBSD__) && (__FreeBSD__== 4)
> typedef int16_t atomic_fast16_t;
> typedef uint16_t uatomic_fast16_t;
> #else
31a43,44
> #endif
> 
34a48,51
> #if defined(__FreeBSD__) && (__FreeBSD__== 4)
> typedef int32_t atomic_fast32_t;
> typedef uint32_t uatomic_fast32_t;
> #else
36a54
> #endif
39a58,61
> #if defined(__FreeBSD__) && (__FreeBSD__== 4)
> typedef int64_t atomic_fast64_t;
> typedef uint64_t uatomic_fast64_t;
> #else
42c64
< 
---
> #endif
44a67,70
> #if defined(__FreeBSD__) && (__FreeBSD__== 4)
> typedef int64_t atomic_max_t;
> typedef uint64_t uatomic_max_t;
> #else
47c73
< 
---
> #endif


More information about the kaffe mailing list