added src/phreeqcpp/common/PHRQ_exports.h

This commit is contained in:
Charlton, Scott R 2020-09-15 20:29:41 -06:00
parent 46257e7349
commit 5b816fa1fd
3 changed files with 16 additions and 10 deletions

View File

@ -3,11 +3,7 @@
#include <sstream>
#if defined(_WINDLL)
#define IPQ_DLL_EXPORT __declspec(dllexport)
#else
#define IPQ_DLL_EXPORT
#endif
#include "PHRQ_exports.h"
class PHRQ_io;
class IPQ_DLL_EXPORT PHRQ_base

14
PHRQ_exports.h Normal file
View File

@ -0,0 +1,14 @@
#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
#else
# define IPQ_DLL_EXPORT
#endif
#endif // INC_PHRQ_EXPORTS_H

View File

@ -1,11 +1,7 @@
#ifndef _PHRQIO_H
#define _PHRQIO_H
#if defined(_WINDLL)
#define IPQ_DLL_EXPORT __declspec(dllexport)
#else
#define IPQ_DLL_EXPORT
#endif
#include "PHRQ_exports.h"
#include <iostream>
#include <exception>