Skip to content

Commit

Permalink
fixed Fortran compilation error on Windows
Browse files Browse the repository at this point in the history
fixes #2
  • Loading branch information
bbd5d068 committed Sep 13, 2024
1 parent 3fe6011 commit 2444356
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fortran/cpp_bindings/src/external_function.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
/* 2022/06/06 */
/***************************/

#ifdef _MSC_VER
#define cfun_ CFUN
#define cfun1_ CFUN1
#endif

#include <iostream>
#include "shared_libraries_export.hpp"

Expand Down

0 comments on commit 2444356

Please sign in to comment.