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

Comparing Frodo4/Src/sysdeps.h (file contents):
Revision 1.1 by cebix, 2003-07-01T17:09:43Z vs.
Revision 1.8 by cebix, 2004-01-14T16:44:22Z

# Line 2 | Line 2
2   *  sysdeps.h - Try to include the right system headers and get other
3   *              system-specific stuff right
4   *
5 < *  Frodo (C) 1994-1997,2002 Christian Bauer
5 > *  Frodo (C) 1994-1997,2002-2004 Christian Bauer
6   *
7   *  This program is free software; you can redistribute it and/or modify
8   *  it under the terms of the GNU General Public License as published by
# Line 21 | Line 21
21  
22   #include "sysconfig.h"
23  
24 extern "C"
25 {
26  
24   #include <stdio.h>
25   #include <stdlib.h>
26   #include <assert.h>
27   #include <ctype.h>
31
32 #ifndef __PSXOS__
28   #include <errno.h>
29   #include <signal.h>
30 < #endif
30 >
31 > #include <vector>
32 > using std::vector;
33  
34   #ifdef HAVE_SYS_TYPES_H
35   #include <sys/types.h>
# Line 95 | Line 92 | extern "C"
92   # if HAVE_SYS_TIME_H
93   #  include <sys/time.h>
94   # else
98 #ifndef __PSXOS__
95   #  include <time.h>
100 #endif
96   # endif
97   #endif
98  
# Line 116 | Line 111 | extern "C"
111   # endif
112   #endif
113  
119 #ifndef __PSXOS__
120 #include <errno.h>
121 #endif
114   #include <assert.h>
115  
116   #if EEXIST == ENOTEMPTY
117   #define BROKEN_OS_PROBABLY_AIX
118   #endif
119  
128 #ifdef HAVE_LINUX_JOYSTICK_H
129 #include <linux/joystick.h>
130 #endif
131
120   #ifdef __NeXT__
121   #define S_IRUSR S_IREAD
122   #define S_IWUSR S_IWRITE
# Line 194 | Line 182 | typedef long int32;
182   #else
183   #error No 4 byte type, you lose.
184   #endif
197 #endif  // __BEOS__
185  
186 < #define UNUSED(x) (x = x)
187 < }
186 > #else
187 > #include <support/SupportDefs.h>
188 > #endif  // __BEOS__

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines