Skip to content

Commit d422182

Browse files
committed
Add missing include of mmgversion file in fotran headers.
1 parent 5d91ee9 commit d422182

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scripts/genheader.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ int main (int argc, char ** argv)
9898
/* Compute the size of the C pointer for the Fortran programm */
9999
fprintf(file, "#define MMG5_DATA_PTR_T INTEGER(kind=%d)\n",
100100
(int)sizeof(void*));
101+
fprintf(file, "#include \"mmgversion.h\"\n");
101102
}
102103
fclose(file);
103104

src/common/mmgversion.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "git_log_mmg.h"
2525
#endif
2626

27-
#if !defined(MMGVERSION_H)
27+
#ifndef MMGVERSION_H
2828
#define MMGVERSION_H
2929

3030
#define MMG_VERSION_RELEASE "@CMAKE_RELEASE_VERSION@"

0 commit comments

Comments
 (0)