2 * © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved.
7 * This material is provided "as is", with absolutely no warranty expressed
8 * or implied. Any use is at your own risk.
10 * Permission to use or copy this software for any purpose is hereby granted
11 * without fee, provided the above notices are retained on all copies.
12 * Permission to modify the code and to distribute modified code is granted,
13 * provided the above notices are retained, and a notice that the code was
14 * modified is included with the above copyright notice.
18 #ifndef _STLP_FSTREAM_H
19 # define _STLP_FSTREAM_H
21 # ifndef _STLP_OUTERMOST_HEADER_ID
22 # define _STLP_OUTERMOST_HEADER_ID 0x2026
23 # include <stl/_prolog.h>
26 # if defined (_STLP_OWN_IOSTREAMS)
32 // get desired pollution
33 # include <iostream.h>
35 # ifndef __LOCALE_INITIALIZED
36 # define __LOCALE_INITIALIZED
37 # if !defined(__LIBSTD_CPP_SYMBIAN32_WSD__) && !defined(_STLP_LIBSTD_CPP_NO_STATIC_VAR_)
38 // Global initializer object, to ensure initialization of locale subsystem.
39 static ios_base::_Loc_init _LocInit;
43 # ifndef _STLP_HAS_NO_NAMESPACES
44 # include <using/fstream>
47 # elif ! defined (_STLP_USE_NO_IOSTREAMS)
48 # include <wrap_std/h/fstream.h>
51 # if (_STLP_OUTERMOST_HEADER_ID == 0x2026)
52 # include <stl/_epilog.h>
53 # undef _STLP_OUTERMOST_HEADER_ID
56 #endif /* _STLP_FSTREAM_H */