2 * © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved.
4 * Silicon Graphics Computer Systems, Inc.
9 * This material is provided "as is", with absolutely no warranty expressed
10 * or implied. Any use is at your own risk.
12 * Permission to use or copy this software for any purpose is hereby granted
13 * without fee, provided the above notices are retained on all copies.
14 * Permission to modify the code and to distribute modified code is granted,
15 * provided the above notices are retained, and a notice that the code was
16 * modified is included with the above copyright notice.
21 // This header defines classes basic_filebuf, basic_ifstream,
22 // basic_ofstream, and basic_fstream. These classes represent
23 // streambufs and streams whose sources or destinations are files.
28 # ifndef _STLP_OUTERMOST_HEADER_ID
29 # define _STLP_OUTERMOST_HEADER_ID 0x1025
30 # include <stl/_prolog.h>
33 #ifdef _STLP_PRAGMA_ONCE
37 # if defined (_STLP_OWN_IOSTREAMS)
38 # include <stl/_fstream.h>
40 # ifndef __LOCALE_INITIALIZED
41 # define __LOCALE_INITIALIZED
43 # if !defined(__LIBSTD_CPP_SYMBIAN32_WSD__) && !defined(_STLP_LIBSTD_CPP_NO_STATIC_VAR_)
44 // Global initializer object, to ensure construction of static objects.
45 static ios_base::_Loc_init _LocInit;
50 # elif !defined(_STLP_USE_NO_IOSTREAMS)
51 # include <wrap_std/fstream>
54 # if (_STLP_OUTERMOST_HEADER_ID == 0x1025)
55 # include <stl/_epilog.h>
56 # undef _STLP_OUTERMOST_HEADER_ID
59 #endif /* _STLP_FSTREAM */