fixed BUILD_SHARED_LIBS build on windows

git-svn-id: svn://136.177.114.72/svn_GW/phreeqc3/trunk@10347 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
Scott R Charlton 2015-10-06 03:15:13 +00:00
parent f997d62a13
commit 34f7921371
2 changed files with 14 additions and 2 deletions

View File

@ -1,6 +1,12 @@
#if !defined(NAMEDOUBLE_H_INCLUDED)
#define NAMEDOUBLE_H_INCLUDED
#if defined(_WINDLL)
#define IPQ_DLL_EXPORT __declspec(dllexport)
#else
#define IPQ_DLL_EXPORT
#endif
#include <cassert> // assert
#include <map> // std::map
#include <string> // std::string
@ -11,7 +17,7 @@ class Phreeqc;
#include "phrqtype.h"
class cxxISolutionComp;
class cxxNameDouble:public
class IPQ_DLL_EXPORT cxxNameDouble:public
std::map < std::string, LDBLE >
{

View File

@ -3,8 +3,14 @@
#include <sstream>
#if defined(_WINDLL)
#define IPQ_DLL_EXPORT __declspec(dllexport)
#else
#define IPQ_DLL_EXPORT
#endif
class PHRQ_io;
class PHRQ_base
class IPQ_DLL_EXPORT PHRQ_base
{
public:
// constructors