Skip to content

Commit

Permalink
BLD: Fix missing extern declaration for header r283.
Browse files Browse the repository at this point in the history
  • Loading branch information
MilanSkocic committed Nov 27, 2023
1 parent d239ab7 commit 201501d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions include/iapws_r283.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
#ifndef IAPWS_R283_H
#define IAPWS_R283_H

#if _MSC_VER || __MINGW32__ || __MINGW64__
#if _MSC_VER
#define ADD_IMPORT __declspec(dllimport)
#else
#define ADD_IMPORT
#endif

ADD_IMPORT const double iapws_r283_capi_Tc_H2O;
ADD_IMPORT const double iapws_r283_capi_Tc_D2O;
ADD_IMPORT extern const double iapws_r283_capi_Tc_H2O;
ADD_IMPORT extern const double iapws_r283_capi_Tc_D2O;

ADD_IMPORT const double iapws_r283_capi_pc_H2O;
ADD_IMPORT const double iapws_r283_capi_pc_D2O;
ADD_IMPORT extern const double iapws_r283_capi_pc_H2O;
ADD_IMPORT extern const double iapws_r283_capi_pc_D2O;

ADD_IMPORT const double iapws_r283_capi_rhoc_H2O;
ADD_IMPORT const double iapws_r283_capi_rhoc_D2O;
ADD_IMPORT extern const double iapws_r283_capi_rhoc_H2O;
ADD_IMPORT extern const double iapws_r283_capi_rhoc_D2O;

#endif

0 comments on commit 201501d

Please sign in to comment.