]> www.ginac.de Git - ginac.git/blobdiff - ginac/add.h
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / add.h
index 37d502a0bfe77925ba55c55743a6264d54762267..1acb03d17200b5cdeb1c8323957e3dd41312247f 100644 (file)
@@ -25,7 +25,9 @@
 
 #include <ginac/expairseq.h>
 
 
 #include <ginac/expairseq.h>
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 /** Sum of expressions. */
 class add : public expairseq
 
 /** Sum of expressions. */
 class add : public expairseq
@@ -112,6 +114,8 @@ inline const add &ex_to_add(const ex &e)
        return static_cast<const add &>(*e.bp);
 }
 
        return static_cast<const add &>(*e.bp);
 }
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE
 
 #endif // ndef __GINAC_ADD_H__
 
 #endif // ndef __GINAC_ADD_H__