From 54161f4ae348e1ef92a59ebf84188ef6fdcba58f Mon Sep 17 00:00:00 2001 From: "Charlton, Scott R" Date: Tue, 29 Sep 2020 10:27:55 -0600 Subject: [PATCH] reset for dlls --- common/PHRQ_exports.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/common/PHRQ_exports.h b/common/PHRQ_exports.h index d936a60c..8f50a7cc 100644 --- a/common/PHRQ_exports.h +++ b/common/PHRQ_exports.h @@ -1,12 +1,9 @@ #ifndef INC_PHRQ_EXPORTS_H #define INC_PHRQ_EXPORTS_H -#if defined(_WINDLL) -# ifdef IPhreeqc_EXPORTS -# define IPQ_DLL_EXPORT __declspec(dllexport) -# else -# define IPQ_DLL_EXPORT __declspec(dllimport) -# endif + +#if defined(_WINDLL) && defined(IPhreeqc_EXPORTS) +# define IPQ_DLL_EXPORT __declspec(dllexport) #else # define IPQ_DLL_EXPORT #endif