- use namespace GiNaC only if NO_NAMESPACE_GINAC wasn't defined.
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Wed, 2 Feb 2000 23:08:10 +0000 (23:08 +0000)
committerRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Wed, 2 Feb 2000 23:08:10 +0000 (23:08 +0000)
tools/viewgar.cpp

index 6fc8c23af72344f4fba52a087a704ad6833b4a43..f4ac3529986c3c478db698528a05d43612d485c7 100644 (file)
 #include <stdexcept>
 
 #include "ginac.h"
 #include <stdexcept>
 
 #include "ginac.h"
+
+#ifndef NO_NAMESPACE_GINAC
 using namespace GiNaC;
 using namespace GiNaC;
+#endif // ndef NO_NAMESPACE_GINAC
 
 int main(int argc, char **argv)
 {
 
 int main(int argc, char **argv)
 {