summaryrefslogtreecommitdiff
path: root/inc/IncludeLibrary_status.h
blob: c3c49af77a5fd627c4020e8d947b773b931857b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
#ifndef __INCLUDE_LIBRARY_STATUS_H
# define __INCLUDE_LIBRARY_STATUS_H


#ifdef WNT
# define STRICT
# include <windows.h>
# include <stdio.h>
# include <process.h>
#else
#if !defined(__hpux) && !defined(HPUX) && !defined(__FreeBSD__)
# include <sys/select.h>
#endif
#endif

		/* Structure du compte rendu */

/* +++++++                              JPT JPT JPT
   ATTENTION au mode d'adressage:
   VMS et ULTRIX de la droite vers la gauche,
   SUN et SGI de la gauche vers la droite.

   Comme le compte rendu vient du FORTRAN qui est un tableau de 2
   entiers, la structure du 1er mot de 32 bits est differente.
*/

#if defined (vax) || defined(VMS)
#define RIGHTLEFT

#elif defined(i386) || defined(LININTEL)
#define RIGHTLEFT

#elif defined(__i386)
#define RIGHTLEFT

#elif defined(__vms)
#define RIGHTLEFT

#elif defined(WNT)
#define RIGHTLEFT

#elif defined(__ia64) || defined(DS)
#define RIGHTLEFT

#elif defined(DS3)
#define RIGHTLEFT

#elif defined(__alpha) || defined(AO1)
#define RIGHTLEFT

#elif defined(__osf__) || defined(DECOSF1)
#define RIGHTLEFT

#elif defined(__sparc) || defined(SUN)
#define LEFTRIGHT

#elif defined(SOL)
#define LEFTRIGHT

#elif defined(__sparc9) || defined(SOLARIS)
#define LEFTRIGHT

#elif defined(__mips) || defined(SIL)
#define LEFTRIGHT

#elif defined(sgi) || defined(IRIX)
#define LEFTRIGHT

#elif defined(ppc)
#define LEFTRIGHT

#elif defined(__hpux) || defined(HPUX)
#define LEFTRIGHT

#elif defined(NEC)
#define LEFTRIGHT

#elif defined(_AIX) || defined(AIX)
#define LEFTRIGHT

#endif

#ifdef RIGHTLEFT
struct _status {
	char	type ;
	char	grp ;
	short	info ;
	int	stat ;
} ;

#elif defined(LEFTRIGHT)
struct _status {
	short	info ;
	char	grp ;
	char	type ;
	int	stat ;
} ;
#endif

typedef struct _status STATUS , *PSTATUS ;

#endif  /* __INCLUDE_LIBRARY_STATUS_H */