Last change
on this file since 653 was
274,
checked in by garonne, 18 years ago
|
See C.L 315
|
-
Property svn:eol-style set to
native
|
File size:
1.1 KB
|
Rev | Line | |
---|
[2] | 1 | //----------------------------------------------------------- |
---|
| 2 | // Copyright Christian Arnault LAL-Orsay CNRS |
---|
| 3 | // arnault@lal.in2p3.fr |
---|
[274] | 4 | // Modified by garonne@lal.in2p3.fr |
---|
[2] | 5 | // See the complete license in cmt_license.txt "http://www.cecill.info". |
---|
| 6 | //----------------------------------------------------------- |
---|
| 7 | |
---|
| 8 | #ifndef __cmt_std_h__ |
---|
| 9 | #define __cmt_std_h__ |
---|
| 10 | |
---|
| 11 | #ifndef WIN32 |
---|
| 12 | #ifndef linux |
---|
[86] | 13 | #ifndef __CYGWIN__ |
---|
[274] | 14 | #ifndef __APPLE__ |
---|
[2] | 15 | #define OLD_HEADERS 1 |
---|
| 16 | #endif |
---|
| 17 | #endif |
---|
[86] | 18 | #endif |
---|
[274] | 19 | #endif |
---|
[2] | 20 | |
---|
| 21 | #ifdef OLD_HEADERS |
---|
| 22 | |
---|
| 23 | #ifdef WIN32 |
---|
| 24 | #include <ios.h> |
---|
| 25 | #include <iomanip.h> |
---|
| 26 | #endif |
---|
| 27 | #include <iostream.h> |
---|
| 28 | #include <fstream.h> |
---|
| 29 | |
---|
[92] | 30 | #define ios_base ios |
---|
| 31 | |
---|
[2] | 32 | #define int_type int |
---|
| 33 | |
---|
| 34 | #else |
---|
| 35 | |
---|
| 36 | #include <iomanip> |
---|
| 37 | #include <iostream> |
---|
| 38 | #include <fstream> |
---|
| 39 | |
---|
| 40 | #define cout std::cout |
---|
| 41 | #define cerr std::cerr |
---|
| 42 | #define endl std::endl |
---|
| 43 | #define ofstream std::ofstream |
---|
| 44 | #define ifstream std::ifstream |
---|
| 45 | #define istream std::istream |
---|
| 46 | #define ostream std::ostream |
---|
| 47 | #define ios std::ios |
---|
| 48 | #define ios_base std::ios_base |
---|
| 49 | #define streambuf std::streambuf |
---|
| 50 | #define setw std::setw |
---|
| 51 | |
---|
| 52 | #endif |
---|
| 53 | |
---|
| 54 | #ifdef sun |
---|
| 55 | #ifndef _BOOL |
---|
| 56 | #undef NEED_BOOL |
---|
| 57 | #define NEED_BOOL |
---|
| 58 | #endif |
---|
| 59 | #endif |
---|
| 60 | |
---|
| 61 | #ifdef NEED_BOOL |
---|
| 62 | typedef enum { false, true } bool; |
---|
| 63 | #endif |
---|
| 64 | |
---|
| 65 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.