]> www.ginac.de Git - ginac.git/blobdiff - ginsh/ginsh.h
#ifndef around namespace GiNaC { }
[ginac.git] / ginsh / ginsh.h
index c225fb09433503eb6598d9a8d40c7459d6ea823b..2d32f0e7d33e97f593d5ba644e2b925fe0c0d9fa 100644 (file)
@@ -42,7 +42,10 @@ extern "C" {
 #endif
 
 #include <ginac/ginac.h>
+
+#ifndef NO_GINAC_NAMESPACE
 using namespace GiNaC;
+#endif // ndef NO_GINAC_NAMESPACE
 
 // yacc stack type
 #define YYSTYPE ex