]> git.lyx.org Git - lyx.git/blobdiff - src/LString.h
start native C++ support for Octave, Maple and MathML
[lyx.git] / src / LString.h
index 3d42a39facac3b84e8975952310f3d6468d69c56..cc9df47947332242c7603f6af14be18f4fb9598e 100644 (file)
@@ -5,17 +5,26 @@
  *           LyX, The Document Processor
  *      
  *         Copyright 1995 Matthias Ettrich
- *          Copyright 1995-2000 The LyX Team.
+ *          Copyright 1995-2001 The LyX Team.
  *
  * ====================================================== */
 
 #ifndef LSTRING_H
 #define LSTRING_H 
 
+#ifndef _CONFIG_H
+#error The <config.h> header should always be included before LString.h
+#endif
+
 #ifndef USE_INCLUDED_STRING
 #include <string>
 using std::string;
 #else
+#ifdef __STRING__
+#error The <string> header has been included before LString.h
+#else
+#define __STRING__
+#endif
 #include "support/lyxstring.h"
 // using lyx::string;
 typedef lyxstring string;