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