Skip to content

Commit

Permalink
Merge commit 'b264534f225be6391d442da66db73ff652d75208'
Browse files Browse the repository at this point in the history
  • Loading branch information
Darth Vader committed Aug 29, 2024
2 parents 986f961 + b264534 commit f272a36
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions src/phast/PhreeqcRM/src/IPhreeqcPhast/IPhreeqc/phreeqcpp/print.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f272a36

Please # to comment.