]> www.ginac.de Git - ginac.git/blobdiff - ginac/fail.cpp
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / fail.cpp
index e5800a388c629a669841427bae8c9ac37fa5ce1a..d4997196bdfa0bfec9ab9539688dd2ac398f909a 100644 (file)
@@ -24,7 +24,9 @@
 #include "fail.h"
 #include "debugmsg.h"
 
 #include "fail.h"
 #include "debugmsg.h"
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 //////////
 // default constructor, destructor, copy constructor assignment operator and helpers
 
 //////////
 // default constructor, destructor, copy constructor assignment operator and helpers
@@ -123,4 +125,6 @@ int fail::compare_same_type(basic const & other) const
 const fail some_fail;
 type_info const & typeid_fail=typeid(some_fail);
 
 const fail some_fail;
 type_info const & typeid_fail=typeid(some_fail);
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE