/*
 * Copyright (c) 1999 
 * Boris Fomitchev
 *
 * This material is provided "as is", with absolutely no warranty expressed
 * or implied. Any use is at your own risk.
 *
 * Permission to use or copy this software for any purpose is hereby granted 
 * without fee, provided the above notices are retained on all copies.
 * Permission to modify the code and to distribute modified code is granted,
 * provided the above notices are retained, and a notice that the code was
 * modified is included with the above copyright notice.
 *
 */

#ifndef __STLPORT_IOMANIP
# define __STLPORT_IOMANIP

# ifndef __STL_CONFIG_H
#  include <stl_config.h>
# endif

# if defined (__STL_USE_NEW_IOSTREAMS)

#  include __STL_NATIVE_HEADER(iomanip)

#  ifdef __STL_USE_OWN_NAMESPACE
__STL_BEGIN_NAMESPACE

using __STL_VENDOR_STD::setiosflags;
using __STL_VENDOR_STD::resetiosflags;
using __STL_VENDOR_STD::setbase;
using __STL_VENDOR_STD::setfill;
using __STL_VENDOR_STD::setprecision;
using __STL_VENDOR_STD::setw;

# ifdef __SUNPRO_CC
// those are non-standard
using __STL_VENDOR_STD::smanip;
using __STL_VENDOR_STD::smanip_fill;
using __STL_VENDOR_STD::sbase;

using __STL_VENDOR_STD::sfill;
using __STL_VENDOR_STD::sios;
using __STL_VENDOR_STD::sprec;
using __STL_VENDOR_STD::swidth;
using __STL_VENDOR_STD::rsios;
# endif

__STL_END_NAMESPACE

#endif /* __STL_OWN_NAMESPACE */

# else /* __STL_USE_NEW_IOSTREAMS */

#  include __STL_NATIVE_HEADER(iomanip.h)

# if defined (__STL_USE_OWN_NAMESPACE)
__STL_BEGIN_NAMESPACE

using ::setiosflags;
using ::resetiosflags;
using ::setbase;
using ::setfill;
using ::setprecision;
using ::setw;

__STL_END_NAMESPACE

#  endif /* __STL_USE_OWN_NAMESPACE */

# endif /* __STL_USE_NEW_IOSTREAMS */

#endif /* __STLPORT_IOMANIP */
