]> www.ginac.de Git - ginac.git/blobdiff - ginac/diff.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / diff.cpp
index 2661fddb849bbab612c2aabf1a0bfec25d5c1333..1820dbcb5b8eb716741bcb15be33ed7edf88188b 100644 (file)
@@ -37,7 +37,9 @@
 #include "series.h"
 #include "symbol.h"
 
 #include "series.h"
 #include "symbol.h"
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 /** Default implementation of ex::diff(). It prints and error message and returns a fail object.
  *  @see ex::diff */
 
 /** Default implementation of ex::diff(). It prints and error message and returns a fail object.
  *  @see ex::diff */
@@ -245,4 +247,6 @@ ex ex::diff(symbol const & s, unsigned nth) const
     return ndiff;
 }
 
     return ndiff;
 }
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE