mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
added src/phreeqcpp/common/PHRQ_exports.h
This commit is contained in:
parent
c8be5daebc
commit
0b0fced395
@ -15,11 +15,7 @@
|
||||
#include <vector>
|
||||
#include "CVar.hxx"
|
||||
|
||||
#if defined(_WINDLL)
|
||||
#define IPQ_DLL_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define IPQ_DLL_EXPORT
|
||||
#endif
|
||||
#include "PHRQ_exports.h"
|
||||
|
||||
class IPQ_DLL_EXPORT CSelectedOutput
|
||||
{
|
||||
|
||||
@ -14,11 +14,7 @@
|
||||
#include "Var.h" /* VRESULT */
|
||||
#include "PHRQ_io.h"
|
||||
|
||||
#if defined(_WINDLL)
|
||||
#define IPQ_DLL_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define IPQ_DLL_EXPORT
|
||||
#endif
|
||||
#include "PHRQ_exports.h"
|
||||
|
||||
class Phreeqc;
|
||||
class IErrorReporter;
|
||||
|
||||
@ -48,6 +48,7 @@ libiphreeqc_la_SOURCES=\
|
||||
phreeqcpp/common/Parser.h\
|
||||
phreeqcpp/common/PHRQ_base.cxx\
|
||||
phreeqcpp/common/PHRQ_base.h\
|
||||
phreeqcpp/common/PHRQ_exports.h\
|
||||
phreeqcpp/common/PHRQ_io.cpp\
|
||||
phreeqcpp/common/PHRQ_io.h\
|
||||
phreeqcpp/common/phrqtype.h\
|
||||
|
||||
6
Var.h
6
Var.h
@ -6,11 +6,7 @@
|
||||
#ifndef __VAR_H_INC
|
||||
#define __VAR_H_INC
|
||||
|
||||
#if defined(_WINDLL)
|
||||
#define IPQ_DLL_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define IPQ_DLL_EXPORT
|
||||
#endif
|
||||
#include "PHRQ_exports.h"
|
||||
|
||||
#if defined(R_SO) || defined(NO_NAMELESS_UNION)
|
||||
#define VAR_UNION_NAME u
|
||||
|
||||
@ -24,6 +24,7 @@ phreeqc_SOURCES=\
|
||||
common/Parser.h\
|
||||
common/PHRQ_base.cxx\
|
||||
common/PHRQ_base.h\
|
||||
common/PHRQ_exports.h\
|
||||
common/PHRQ_io.cpp\
|
||||
common/PHRQ_io.h\
|
||||
common/phrqtype.h\
|
||||
|
||||
@ -1,11 +1,7 @@
|
||||
#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 "PHRQ_exports.h"
|
||||
|
||||
#include <cassert> // assert
|
||||
#include <map> // std::map
|
||||
|
||||
@ -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
phreeqcpp/common/PHRQ_exports.h
Normal file
14
phreeqcpp/common/PHRQ_exports.h
Normal 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
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user