X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginsh%2Fginsh.h;h=780d0f927376bb463587c5d3071f1b369b8db46b;hp=2d32f0e7d33e97f593d5ba644e2b925fe0c0d9fa;hb=1a2b16701d81f537d91ebd4db9ca0beeeaa3798c;hpb=afdd7fa8c6c0a587f7c80789198551383e8beb7b diff --git a/ginsh/ginsh.h b/ginsh/ginsh.h index 2d32f0e7..780d0f92 100644 --- a/ginsh/ginsh.h +++ b/ginsh/ginsh.h @@ -2,7 +2,7 @@ * * Global definitions for ginsh. * - * GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2002 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,8 +27,11 @@ #include #include +#include #include +using namespace std; + #ifdef HAVE_READLINE_READLINE_H extern "C" { #include @@ -41,11 +44,13 @@ extern "C" { } #endif +#ifdef IN_GINAC +#include "ginac.h" +#else #include +#endif -#ifndef NO_GINAC_NAMESPACE using namespace GiNaC; -#endif // ndef NO_GINAC_NAMESPACE // yacc stack type #define YYSTYPE ex