]> git.lyx.org Git - lyx.git/blobdiff - src/LString.h
ws cleanup
[lyx.git] / src / LString.h
index 46ec80c097766c170f5c29d809668c8792bced2f..25809cba739ad9778241ed418e950b78c39b7638 100644 (file)
@@ -1,22 +1,32 @@
 // -*- C++ -*-
 /* This file is part of
  * ======================================================
- * 
+ *
  *           LyX, The Document Processor
- *      
+ *
  *         Copyright 1995 Matthias Ettrich
- *          Copyright 1995-1999 The LyX Team.
+ *          Copyright 1995-2001 The LyX Team.
  *
  * ====================================================== */
 
 #ifndef LSTRING_H
-#define 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;
 #endif
 #endif