]> www.ginac.de Git - ginac.git/blobdiff - ginac/flags.h
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / flags.h
index cc735b64a206648d124357d6ba9bf9e7ba5af943..6a1bfa4df35f15d34ce949f1bcda1bcd15af6ed5 100644 (file)
@@ -1,7 +1,8 @@
 /** @file flags.h
  *
 /** @file flags.h
  *
- *  Collection of all flags used through the GiNaC framework.
- *
+ *  Collection of all flags used through the GiNaC framework. */
+
+/*
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  GiNaC Copyright (C) 1999 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
 #ifndef __GINAC_FLAGS_H__
 #define __GINAC_FLAGS_H__
 
 #ifndef __GINAC_FLAGS_H__
 #define __GINAC_FLAGS_H__
 
+#ifndef NO_GINAC_NAMESPACE
+namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
+
 class expand_options {
 public:
     enum { expand_trigonometric      = 0x0001
 class expand_options {
 public:
     enum { expand_trigonometric      = 0x0001
@@ -111,4 +116,8 @@ public:
        };
 };
 
        };
 };
 
+#ifndef NO_GINAC_NAMESPACE
+} // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE
+
 #endif // ndef __GINAC_FLAGS_H__
 #endif // ndef __GINAC_FLAGS_H__