reset for dlls

This commit is contained in:
Charlton, Scott R 2020-09-29 10:27:55 -06:00
parent e562e09e9a
commit a28c241478
2 changed files with 4 additions and 11 deletions

View File

@ -1,11 +1,7 @@
#ifndef __IPHREEQC_INTERFACE__H #ifndef __IPHREEQC_INTERFACE__H
#define __IPHREEQC_INTERFACE__H #define __IPHREEQC_INTERFACE__H
#if defined(_WINDLL) #include "PHRQ_exports.h"
#define IPQ_DLL_EXPORT __declspec(dllexport)
#else
#define IPQ_DLL_EXPORT
#endif
#ifdef SKIP #ifdef SKIP
#if defined(FC_FUNC) #if defined(FC_FUNC)

View File

@ -1,12 +1,9 @@
#ifndef INC_PHRQ_EXPORTS_H #ifndef INC_PHRQ_EXPORTS_H
#define INC_PHRQ_EXPORTS_H #define INC_PHRQ_EXPORTS_H
#if defined(_WINDLL)
# ifdef IPhreeqc_EXPORTS #if defined(_WINDLL) && defined(IPhreeqc_EXPORTS)
# define IPQ_DLL_EXPORT __declspec(dllexport) # define IPQ_DLL_EXPORT __declspec(dllexport)
# else
# define IPQ_DLL_EXPORT __declspec(dllimport)
# endif
#else #else
# define IPQ_DLL_EXPORT # define IPQ_DLL_EXPORT
#endif #endif