Transition to NewIO
[u/mrichter/AliRoot.git] / MICROCERN / kerngen / cf_open.h
CommitLineData
fe4da5cc 1/*
2* $Id$
3*
4* $Log$
88cb7938 5* Revision 1.2.4.1 2002/11/26 16:50:55 hristov
6* Merging NewIO with v3-09-04
7*
8* Revision 1.2 2002/10/14 14:57:11 hristov
9* Merging the VirtualMC branch to the main development branch (HEAD)
10*
b9d0a01d 11* Revision 1.1.2.1 2002/07/11 17:14:49 alibrary
12* Adding MICROCERN
13*
14* Revision 1.1.1.1 1999/05/18 15:55:29 fca
15* AliRoot sources
16*
fe4da5cc 17* Revision 1.2 1997/02/04 17:35:35 mclareni
18* Merge Winnt and 97a versions
19*
20* Revision 1.1.1.1.2.1 1997/01/21 11:30:25 mclareni
21* All mods for Winnt 96a on winnt branch
22*
23* Revision 1.1.1.1 1996/02/15 17:49:17 mclareni
24* Kernlib
25*
26*
27*
28* cf#open.inc
29*/
30#if defined(CERNLIB_QMAPO)
31#include <sys/file.h> /* Apollo */
32#elif defined(CERNLIB_QMAMX)
33#include <sys/types.h> /* AMX */
34#include <sys/fcntl.h>
35#include <sys/file.h>
36#elif defined(CERNLIB_QMCRY)||defined(CERNLIB_QMHPX)||defined(CERNLIB_QMIBX)||defined(CERNLIB_QMSUN)
37#include <fcntl.h> /* CRAY HPX IBX SUN */
38#elif defined(CERNLIB_QMIRT)||defined(CERNLIB_QMIRTD)
39#include <fcntl.h> /* IRT */
40#include <sys/mode.h>
41#elif defined(CERNLIB_QMVAX)
42#include <file.h> /* VAX/VMS */
43#elif defined(CERNLIB_QMVMI)
44#include <sys/types.h>
45#include <sys/stat.h>
46#include <fcntl.h> /* VMI Decstation */
47#elif defined(CERNLIB_QMDOS) || defined(CERNLIB_WINNT)
48#ifdef __GNUC__
49#include <sys/file.h>
50#else
51# ifdef WIN32
52# ifdef __STDC__
53# undef __STDC__
54# endif
55# include <io.h>
56# include <stdio.h>
57# include <fcntl.h>
58# endif
59#endif
60#else
61#include <sys/types.h>
62#include <sys/stat.h>
63#include <sys/fcntl.h> /* default Posix */
64#endif