Skip to content

Commit c7de4df

Browse files
committed
Change file extension for pure C header file.
1 parent f94c8f9 commit c7de4df

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ doc/html/
88
doc/latex/
99
.vscode/settings.json
1010
__pycache__
11-
/lib/utilities/vcs_identifier_gen.hpp
11+
/lib/utilities/vcs_identifier_gen.h

generate_vcs_identifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
source_dir = env.subst("$PROJECT_DIR")
2121

2222
# Path to the output file within
23-
output_file = os.path.join(source_dir, 'lib', 'utilities', 'vcs_identifier_gen.hpp')
23+
output_file = os.path.join(source_dir, 'lib', 'utilities', 'vcs_identifier_gen.h')
2424

2525
vcs_id = get_vcs_id()
2626

lib/utilities/version.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#pragma once
22

33
#include <optional>
4-
#if __has_include("vcs_identifier_gen.hpp")
5-
#include "vcs_identifier_gen.hpp"
4+
#if __has_include("vcs_identifier_gen.h")
5+
#include "vcs_identifier_gen.h"
66
constexpr std::optional<const char *> vcsId = VCS_ID;
77
#else
88
constexpr std::optional<const char *> vcsId = std::nullopt;

0 commit comments

Comments
 (0)