From 608ad395fa796af8d45a1faf271e0ea45d8ee5ea Mon Sep 17 00:00:00 2001 From: "art1@andreas-romeyke.de" Date: Tue, 29 May 2018 14:46:40 +0200 Subject: [PATCH] - fixed header file problems using different #ifdef to avoid multiple includes --- src/include/bagmetadata.hpp | 4 ++-- src/include/fetchfile.hpp | 4 ++-- src/include/manifest.hpp | 4 ++-- src/include/othertags.hpp | 4 ++-- src/include/tagmanifest.hpp | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/include/bagmetadata.hpp b/src/include/bagmetadata.hpp index 335d72d..c3b08ba 100644 --- a/src/include/bagmetadata.hpp +++ b/src/include/bagmetadata.hpp @@ -1,5 +1,5 @@ -#ifndef LIBCBAG -#define LIBCBAG +#ifndef LIBCBAG_BAGMETADATA +#define LIBCBAG_BAG_METADATA #include using namespace std; class bagmetadata{ diff --git a/src/include/fetchfile.hpp b/src/include/fetchfile.hpp index d9e7257..7df1488 100644 --- a/src/include/fetchfile.hpp +++ b/src/include/fetchfile.hpp @@ -1,5 +1,5 @@ -#ifndef LIBCBAG -#define LIBCBAG +#ifndef LIBCBAG_FETCHFILE +#define LIBCBAG_FETCHFILE #include using namespace std; class fetchfile{ diff --git a/src/include/manifest.hpp b/src/include/manifest.hpp index dd71a0c..5d9c0f7 100644 --- a/src/include/manifest.hpp +++ b/src/include/manifest.hpp @@ -1,5 +1,5 @@ -#ifndef LIBCBAG -#define LIBCBAG +#ifndef LIBCBAG_MANIFEST +#define LIBCBAG_MANIFEST #include using namespace std; class manifest{ diff --git a/src/include/othertags.hpp b/src/include/othertags.hpp index a7e1f9c..86d0126 100644 --- a/src/include/othertags.hpp +++ b/src/include/othertags.hpp @@ -1,5 +1,5 @@ -#ifndef LIBCBAG -#define LIBCBAG +#ifndef LIBCBAG_OTHERTAGS +#define LIBCBAG_OTHERTAGS #include using namespace std; class othertags{ diff --git a/src/include/tagmanifest.hpp b/src/include/tagmanifest.hpp index 5fbfa15..0dcf910 100644 --- a/src/include/tagmanifest.hpp +++ b/src/include/tagmanifest.hpp @@ -1,5 +1,5 @@ -#ifndef LIBCBAG -#define LIBCBAG +#ifndef LIBCBAG_TAGMANIFEST +#define LIBCBAG_TAGMANIFEST #include using namespace std; class tagmanifest{