- 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 6fc8c23..f4ac352 100644 (file)
 #include <stdexcept>
 
 #include "ginac.h"
+
+#ifndef NO_NAMESPACE_GINAC
 using namespace GiNaC;
+#endif // ndef NO_NAMESPACE_GINAC
 
 int main(int argc, char **argv)
 {