mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-15 16:18:22 +01:00
Squashed 'phreeqcpp/' changes from c477ba1..fdc0bb5
fdc0bb5 fixed nullptr for pre-c++11 git-subtree-dir: phreeqcpp git-subtree-split: fdc0bb51869877771df528f727fe577f58877c7d
This commit is contained in:
parent
45befa7108
commit
8f7d206a80
10
PBasic.cpp
10
PBasic.cpp
@ -24,6 +24,16 @@
|
||||
#define toklength 20
|
||||
typedef long chset[9];
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER <= 1400) // VS2005
|
||||
# define nullptr NULL
|
||||
#endif
|
||||
|
||||
#if __cplusplus < 201103L // Check if C++ standard is pre-C++11
|
||||
# ifndef nullptr
|
||||
# define nullptr NULL
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(PHREEQCI_GUI)
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
|
||||
@ -12,6 +12,16 @@
|
||||
#include "Solution.h"
|
||||
#include "Parser.h"
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER <= 1400) // VS2005
|
||||
# define nullptr NULL
|
||||
#endif
|
||||
|
||||
#if __cplusplus < 201103L // Check if C++ standard is pre-C++11
|
||||
# ifndef nullptr
|
||||
# define nullptr NULL
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(PHREEQCI_GUI)
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
|
||||
10
print.cpp
10
print.cpp
@ -15,6 +15,16 @@
|
||||
#include "Solution.h"
|
||||
#include "Surface.h"
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER <= 1400) // VS2005
|
||||
# define nullptr NULL
|
||||
#endif
|
||||
|
||||
#if __cplusplus < 201103L // Check if C++ standard is pre-C++11
|
||||
# ifndef nullptr
|
||||
# define nullptr NULL
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(PHREEQCI_GUI)
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
|
||||
@ -52,6 +52,16 @@ struct MOLES_ADDED /* total moles added to balance negative conc's */
|
||||
} *moles_added;
|
||||
int count_moles_added;
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER <= 1400) // VS2005
|
||||
# define nullptr NULL
|
||||
#endif
|
||||
|
||||
#if __cplusplus < 201103L // Check if C++ standard is pre-C++11
|
||||
# ifndef nullptr
|
||||
# define nullptr NULL
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(PHREEQCI_GUI)
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user