Last change
on this file since 637 was
637,
checked in by rybkin, 11 years ago
|
merge -r 618:627 HEAD
|
-
Property svn:eol-style set to
native
|
File size:
1.2 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 |
---|
[637] | 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> |
---|
[547] | 29 | #include <sstream.h> |
---|
[2] | 30 | |
---|
[92] | 31 | #define ios_base ios |
---|
| 32 | |
---|
[2] | 33 | #define int_type int |
---|
| 34 | |
---|
| 35 | #else |
---|
| 36 | |
---|
| 37 | #include <iomanip> |
---|
| 38 | #include <iostream> |
---|
| 39 | #include <fstream> |
---|
[547] | 40 | #include <sstream> |
---|
[2] | 41 | |
---|
| 42 | #define cout std::cout |
---|
| 43 | #define cerr std::cerr |
---|
| 44 | #define endl std::endl |
---|
| 45 | #define ofstream std::ofstream |
---|
| 46 | #define ifstream std::ifstream |
---|
[547] | 47 | #define ostringstream std::ostringstream |
---|
[2] | 48 | #define istream std::istream |
---|
| 49 | #define ostream std::ostream |
---|
| 50 | #define ios std::ios |
---|
| 51 | #define ios_base std::ios_base |
---|
| 52 | #define streambuf std::streambuf |
---|
| 53 | #define setw std::setw |
---|
| 54 | |
---|
| 55 | #endif |
---|
| 56 | |
---|
| 57 | #ifdef sun |
---|
| 58 | #ifndef _BOOL |
---|
| 59 | #undef NEED_BOOL |
---|
| 60 | #define NEED_BOOL |
---|
| 61 | #endif |
---|
| 62 | #endif |
---|
| 63 | |
---|
| 64 | #ifdef NEED_BOOL |
---|
| 65 | typedef enum { false, true } bool; |
---|
| 66 | #endif |
---|
| 67 | |
---|
| 68 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.