]> www.ginac.de Git - ginac.git/blobdiff - ginac/structure.h
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / structure.h
index 3478887507c11b20067c606650cd1cc14e25703a..abde78d7f0d11f00ef4053ac7b07c3069e52226f 100644 (file)
@@ -25,7 +25,9 @@
 
 #include <ginac/basic.h>
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 struct registered_structure_info {
     char const * name;
@@ -84,6 +86,8 @@ public:
 extern const structure some_structure;
 extern type_info const & typeid_structure;
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE
 
 #endif // ndef __GINAC_STRUCTURE_H__