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