]> www.ginac.de Git - ginac.git/blobdiff - ginsh/ginsh_parser.yy
#ifndef around namespace GiNaC { }
[ginac.git] / ginsh / ginsh_parser.yy
index f8702d2aea4b7640eb24c5933353ccc4b8b6bc24..b8409ea0649f314f85c3f15afe346bf81fb0a71b 100644 (file)
@@ -554,7 +554,10 @@ static ex f_ginac_function(const exprseq &es, int serial)
 }
 
 // All registered GiNaC functions
-void GiNaC::ginsh_get_ginac_functions(void)
+#ifndef NO_GINAC_NAMESPACE
+#else // ndef NO_GINAC_NAMESPACE
+void ginsh_get_ginac_functions(void)
+#endif // ndef NO_GINAC_NAMESPACE
 {
        vector<registered_function_info>::const_iterator i = function::registered_functions().begin(), end = function::registered_functions().end();
        unsigned serial = 0;