git://www.ginac.de
/
ginac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- use namespace GiNaC only if NO_NAMESPACE_GINAC wasn't defined.
[ginac.git]
/
tools
/
viewgar.cpp
diff --git
a/tools/viewgar.cpp
b/tools/viewgar.cpp
index 6fc8c23af72344f4fba52a087a704ad6833b4a43..f4ac3529986c3c478db698528a05d43612d485c7 100644
(file)
--- a/
tools/viewgar.cpp
+++ b/
tools/viewgar.cpp
@@
-25,7
+25,10
@@
#include <stdexcept>
#include "ginac.h"
+
+#ifndef NO_NAMESPACE_GINAC
using namespace GiNaC;
+#endif // ndef NO_NAMESPACE_GINAC
int main(int argc, char **argv)
{