Namespace the reg class to avoid clashes with OS headers
[deliverable/binutils-gdb.git] / gdb / regformats / regdef.h
index 340281e2425dc95adeb27378ede27e6fa5aa4a10..ed9aeb7af4b8232b8c7de1a8ba1c830ab7922b7a 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef REGFORMATS_REGDEF_H
 #define REGFORMATS_REGDEF_H
 
+namespace gdb {
+
 struct reg
 {
   reg (int _offset)
@@ -60,4 +62,6 @@ struct reg
   }
 };
 
+} /* namespace gdb */
+
 #endif /* REGFORMATS_REGDEF_H */
This page took 0.02565 seconds and 4 git commands to generate.