- Adjusted build-environment for "Cint without crutches" (tm).
[ginac.git] / tools / viewgar.cpp
index 79f992913470a53311af93dca350742f45174a7f..5568c51e5bc01d9dd7df7ced05b2bb725b138d19 100644 (file)
 #include <fstream>
 #include <stdexcept>
 
-#include <ginac/ginac.h>
+#include "ginac.h"
+
+#ifndef NO_NAMESPACE_GINAC
 using namespace GiNaC;
+#endif // ndef NO_NAMESPACE_GINAC
 
 int main(int argc, char **argv)
 {
        if (argc < 2) {
-               fprintf(stderr, "Usage: %s [-d] file...", argv[0]);
+               fprintf(stderr, "Usage: %s [-d] file...\n", argv[0]);
                exit(1);
        }
        argc--; argv++;