Subversion Repositories shark

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 pj 1
/*
2
 * Project: S.Ha.R.K.
3
 *
4
 * Coordinators:
5
 *   Giorgio Buttazzo    <giorgio@sssup.it>
6
 *   Paolo Gai           <pj@gandalf.sssup.it>
7
 *
8
 * Authors     :
9
 *   Paolo Gai           <pj@gandalf.sssup.it>
10
 *   Massimiliano Giorgi <massy@gandalf.sssup.it>
11
 *   Luca Abeni          <luca@gandalf.sssup.it>
12
 *   (see the web pages for full authors list)
13
 *
14
 * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
15
 *
16
 * http://www.sssup.it
17
 * http://retis.sssup.it
18
 * http://shark.sssup.it
19
 */
20
 
21
 
22
/**
23
 ------------
24
 CVS :        $Id: htypes.h,v 1.1.1.1 2002-03-29 14:12:51 pj Exp $
25
 
26
 File:        $File$
27
 Revision:    $Revision: 1.1.1.1 $
28
 Last update: $Date: 2002-03-29 14:12:51 $
29
 ------------
30
 
31
**/
32
 
33
/*
34
 * Copyright (C) 2000 Paolo Gai
35
 *
36
 * This program is free software; you can redistribute it and/or modify
37
 * it under the terms of the GNU General Public License as published by
38
 * the Free Software Foundation; either version 2 of the License, or
39
 * (at your option) any later version.
40
 *
41
 * This program is distributed in the hope that it will be useful,
42
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
43
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
44
 * GNU General Public License for more details.
45
 *
46
 * You should have received a copy of the GNU General Public License
47
 * along with this program; if not, write to the Free Software
48
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
49
 *
50
 */
51
/* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */
52
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
53
 
54
#ifndef __SYS_HTYPES_H_
55
#define __SYS_HTYPES_H_
56
 
57
#define __DJ_clock_t    typedef int clock_t;
58
#define __DJ_clockid_t  typedef int clockid_t;
59
#define __DJ_dev_t      typedef unsigned int dev_t;
60
#define __DJ_gid_t      typedef unsigned int gid_t;
61
#define __DJ_ino_t      typedef unsigned int ino_t;
62
#define __DJ_mode_t     typedef int mode_t;
63
#define __DJ_nlink_t    typedef short int nlink_t;
64
#define __DJ_off_t      typedef long int off_t;
65
#define __DJ_pid_t      typedef int pid_t;
66
#define __DJ_time_t     typedef unsigned int time_t;
67
#define __DJ_timer_t    typedef int timer_t;
68
#define __DJ_uid_t      typedef unsigned int uid_t;
69
 
70
#if defined(__cplusplus) && ( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
71
/* wchar_t is now a keyword in C++ */
72
#define __DJ_wchar_t
73
#else
74
/* but remains a typedef in C */
75
#define __DJ_wchar_t    typedef int wchar_t;
76
#endif
77
 
78
#define __DJ_wint_t     typedef int wint_t;
79
 
80
#endif