X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLString.h;h=cc9df47947332242c7603f6af14be18f4fb9598e;hb=6e3fcdf812f007c7c272bf7b1a7c650c109f709d;hp=3d42a39facac3b84e8975952310f3d6468d69c56;hpb=77e706c44175f3cf71473a42d5db890c77b3b7b3;p=lyx.git diff --git a/src/LString.h b/src/LString.h index 3d42a39fac..cc9df47947 100644 --- a/src/LString.h +++ b/src/LString.h @@ -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 header should always be included before LString.h +#endif + #ifndef USE_INCLUDED_STRING #include using std::string; #else +#ifdef __STRING__ +#error The header has been included before LString.h +#else +#define __STRING__ +#endif #include "support/lyxstring.h" // using lyx::string; typedef lyxstring string;