1 /*****************************************************************************/
2 /* Software Testing Automation Framework (STAF)                              */
3 /* (C) Copyright IBM Corp. 2001                                              */
4 /*                                                                           */
5 /* This software is licensed under the Eclipse Public License (EPL) V1.0.    */
6 /*****************************************************************************/
7 
8 #ifndef STAF_fstream
9 #define STAF_fstream
10 
11 #ifdef STAF_Config_NoSTDFStreamSupport
12 
13   #include <fstream.h>
14 
15 #else
16 
17   #include <fstream>
18 
19   using std::fstream;
20   using std::ofstream;
21   using std::ifstream;
22   using std::ios;
23 
24 #endif
25 
26 
27 #ifdef STAF_NO_IOS_BINARY
28 
29   #define STAF_ios_binary 0x00000000
30 
31 #else
32 
33   #define STAF_ios_binary ios::binary
34 
35 #endif
36 
37 
38 #endif
39