Skip to content

Commit

Permalink
Add missing include of mmgversion file in fotran headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Algiane committed Oct 9, 2020
1 parent 5d91ee9 commit d422182
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions scripts/genheader.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ int main (int argc, char ** argv)
/* Compute the size of the C pointer for the Fortran programm */
fprintf(file, "#define MMG5_DATA_PTR_T INTEGER(kind=%d)\n",
(int)sizeof(void*));
fprintf(file, "#include \"mmgversion.h\"\n");
}
fclose(file);

Expand Down
2 changes: 1 addition & 1 deletion src/common/mmgversion.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "git_log_mmg.h"
#endif

#if !defined(MMGVERSION_H)
#ifndef MMGVERSION_H
#define MMGVERSION_H

#define MMG_VERSION_RELEASE "@CMAKE_RELEASE_VERSION@"
Expand Down

0 comments on commit d422182

Please sign in to comment.