]> git.lyx.org Git - lyx.git/blob - src/stl_string_fwd.h
5bc011b9beb568cdac5791369364711afa8b342f
[lyx.git] / src / stl_string_fwd.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ======================================================
4  * 
5  *           LyX, The Document Processor
6  *       
7  *          Copyright 1995 Matthias Ettrich
8  *          Copyright 1995-1999 The LyX Team.
9  *
10  * ====================================================== */
11
12 #ifndef LYX_STL_STRING_FWD_H
13 #define LYX_STL_STRING_FWD_H
14
15
16 #if defined(HAVE_STL_STRING_FWD_H)
17 #  ifndef USE_INCLUDED_STRING
18 //   include the real stl_string_fwd.h
19 #    include STL_STRING_FWD_H_LOCATION
20 #  else
21 // Hide the forward declaration of string by SGI's STL > 3.13.
22 // We have to provide the declaration of__get_c_string() ourselves
23 // since SGI expects it to exist and we're blocking their string declarations
24 // as best we can.
25 // Note that a declaration for string is still required so we have to
26 // provide one via LString.h.   ARRae.
27 #    include "LString.h"
28 #    define __SGI_STL_STRING_FWD_H
29      static char const * __get_c_string(string const &);
30 #  endif // USE_INCLUDED_STRING
31 #endif // HAVE_STL_STRING_FWD_H
32
33 #endif // LYX_STL_STRING_FWD_H