X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLString.h;h=25809cba739ad9778241ed418e950b78c39b7638;hb=d11fd01ce743c4974a96f241a99853f46078c80c;hp=0f2eccc8cdeaeb8538f7058a89ae37ef2b9b8c89;hpb=0088121bd8c3fc7f2109e8dc9b22b73ca193f20e;p=lyx.git diff --git a/src/LString.h b/src/LString.h index 0f2eccc8cd..25809cba73 100644 --- a/src/LString.h +++ b/src/LString.h @@ -1,22 +1,32 @@ // -*- C++ -*- /* This file is part of * ====================================================== - * + * * 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 +#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; #endif #endif