lyx_mirror/src/stl_string_fwd.h
Jean-Marc Lasgouttes bf6b9d1e18 some source cleanup from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1654 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-01 15:57:10 +00:00

36 lines
1.1 KiB
C++

// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2000 The LyX Team.
*
* ====================================================== */
#ifndef LYX_STL_STRING_FWD_H
#define LYX_STL_STRING_FWD_H
/*
* This file exists to appease STLPort when using included lyxstring.
* It won't be around forever ...
*/
#ifndef USE_INCLUDED_STRING
// include the real stl_string_fwd.h
# include STL_STRING_FWD_H_LOCATION
#else
// Hide the forward declaration of string by SGI's STL > 3.13.
// We have to provide the declaration of__get_c_string() ourselves
// since SGI expects it to exist and we're blocking their string declarations
// as best we can.
// Note that a declaration for string is still required so we have to
// provide one via LString.h. ARRae.
# include "LString.h"
# define __SGI_STL_STRING_FWD_H
static char const * __get_c_string(string const &);
#endif // USE_INCLUDED_STRING
#endif // LYX_STL_STRING_FWD_H