diff options
Diffstat (limited to 'gdb/common/gdb_string_view.h')
-rw-r--r-- | gdb/common/gdb_string_view.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/common/gdb_string_view.h b/gdb/common/gdb_string_view.h index 001f1af..68f7f7d 100644 --- a/gdb/common/gdb_string_view.h +++ b/gdb/common/gdb_string_view.h @@ -1,5 +1,9 @@ // Components for manipulating non-owning sequences of characters -*- C++ -*- + +#ifndef COMMON_GDB_STRING_VIEW_H +#define COMMON_GDB_STRING_VIEW_H + // Note: This file has been stolen from the gcc repo // (libstdc++-v3/include/experimental/string_view) and has local modifications. @@ -29,8 +33,6 @@ // N3762 basic_string_view library // -#ifndef GDB_STRING_VIEW_H -#define GDB_STRING_VIEW_H 1 #if __cplusplus >= 201703L @@ -557,4 +559,4 @@ namespace gdb { #endif // __cplusplus < 201703L -#endif /* GDB_STRING_VIEW_H */ +#endif /* COMMON_GDB_STRING_VIEW_H */ |