source: CMT/v1r10p20011126/src/cmt_std.h @ 1

Last change on this file since 1 was 1, checked in by arnault, 19 years ago

Import all tags

File size: 724 bytes
Line 
1#ifndef __cmt_std_h__
2#define __cmt_std_h__
3
4#define OLD_HEADERS 1
5
6#ifdef OLD_HEADERS
7
8#ifdef WIN32
9#include <ios.h>
10#endif
11#include <iostream.h>
12#include <fstream.h>
13
14#define int_type int
15
16#else
17
18#include <ios>
19#include <iostream>
20#include <fstream>
21
22#define cout std::cout
23#define cerr std::cerr
24#define endl std::endl
25#define ofstream std::ofstream
26#define ifstream std::ifstream
27#define istream std::istream
28#define ostream std::ostream
29#define ios std::ios
30#define ios_base std::ios_base
31#define streambuf std::streambuf
32
33#endif
34
35#ifdef sun
36#ifndef _BOOL
37#undef NEED_BOOL
38#define NEED_BOOL
39#endif
40#endif
41
42#ifdef NEED_BOOL
43typedef enum { false, true } bool;
44#endif
45
46#endif
Note: See TracBrowser for help on using the repository browser.