]> www.ginac.de Git - ginac.git/blobdiff - ginac/inifcns_trans.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / inifcns_trans.cpp
index db502ca9568faa90f14676ce17af4fb5b547055d..01711a7fa3c9aae70cc9afc536ab651a157d2d34 100644 (file)
@@ -30,7 +30,9 @@
 #include "numeric.h"
 #include "power.h"
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 //////////
 // exponential function
@@ -740,4 +742,6 @@ static ex atanh_diff(ex const & x, unsigned diff_param)
 
 REGISTER_FUNCTION(atanh, atanh_eval, atanh_evalf, atanh_diff, NULL);
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE