From 18b6044097e323db0adab302303be13cb3daae24 Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Tue, 16 Aug 2022 12:52:00 +0200
Subject: [PATCH] GrammarParser: adapt to standard header guards

---
 DDCore/include/DD4hep/GrammarParsed.h   | 2 +-
 DDCore/include/DD4hep/GrammarUnparsed.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/DDCore/include/DD4hep/GrammarParsed.h b/DDCore/include/DD4hep/GrammarParsed.h
index 8081c7ce5..95785c647 100644
--- a/DDCore/include/DD4hep/GrammarParsed.h
+++ b/DDCore/include/DD4hep/GrammarParsed.h
@@ -21,7 +21,7 @@
 #ifndef DD4HEP_GRAMMARPARSED_H
 #define DD4HEP_GRAMMARPARSED_H
 
-#if defined(DD4HEP_DDCORE_GRAMMARUNPARSED_H)
+#if defined(DD4HEP_GRAMMARUNPARSED_H)
 #pragma error "The header files GrammarParsed.h and GrammarUnparsed.h may not be included in the same compilation unit!"
 #endif
 
diff --git a/DDCore/include/DD4hep/GrammarUnparsed.h b/DDCore/include/DD4hep/GrammarUnparsed.h
index be82f1551..68036d292 100644
--- a/DDCore/include/DD4hep/GrammarUnparsed.h
+++ b/DDCore/include/DD4hep/GrammarUnparsed.h
@@ -21,7 +21,7 @@
 #ifndef DD4HEP_GRAMMARUNPARSED_H
 #define DD4HEP_GRAMMARUNPARSED_H
 
-#if defined(DD4HEP_DDCORE_GRAMMARPARSED_H)
+#if defined(DD4HEP_GRAMMARPARSED_H)
 #pragma error "The header files GrammarParsed.h and GrammarUnparsed.h may not be included in the same compilation unit!"
 #endif
 
-- 
GitLab