Commit 27eab1b Darth Vader
committed
File tree 4 files changed +40
-0
lines changed
4 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 24
24
#define toklength 20
25
25
typedef long chset[9 ];
26
26
27
+ #if defined(_MSC_VER) && (_MSC_VER <= 1400) // VS2005
28
+ # define nullptr NULL
29
+ #endif
30
+
31
+ #if __cplusplus < 201103L // Check if C++ standard is pre-C++11
32
+ # ifndef nullptr
33
+ # define nullptr NULL
34
+ # endif
35
+ #endif
36
+
27
37
#if defined(PHREEQCI_GUI)
28
38
#ifdef _DEBUG
29
39
#define new DEBUG_NEW
Original file line number Diff line number Diff line change 12
12
#include " Solution.h"
13
13
#include " Parser.h"
14
14
15
+ #if defined(_MSC_VER) && (_MSC_VER <= 1400) // VS2005
16
+ # define nullptr NULL
17
+ #endif
18
+
19
+ #if __cplusplus < 201103L // Check if C++ standard is pre-C++11
20
+ # ifndef nullptr
21
+ # define nullptr NULL
22
+ # endif
23
+ #endif
24
+
15
25
#if defined(PHREEQCI_GUI)
16
26
#ifdef _DEBUG
17
27
#define new DEBUG_NEW
Original file line number Diff line number Diff line change 15
15
#include " Solution.h"
16
16
#include " Surface.h"
17
17
18
+ #if defined(_MSC_VER) && (_MSC_VER <= 1400) // VS2005
19
+ # define nullptr NULL
20
+ #endif
21
+
22
+ #if __cplusplus < 201103L // Check if C++ standard is pre-C++11
23
+ # ifndef nullptr
24
+ # define nullptr NULL
25
+ # endif
26
+ #endif
27
+
18
28
#if defined(PHREEQCI_GUI)
19
29
#ifdef _DEBUG
20
30
#define new DEBUG_NEW
Original file line number Diff line number Diff line change @@ -52,6 +52,16 @@ struct MOLES_ADDED /* total moles added to balance negative conc's */
52
52
} *moles_added;
53
53
int count_moles_added;
54
54
55
+ #if defined(_MSC_VER) && (_MSC_VER <= 1400) // VS2005
56
+ # define nullptr NULL
57
+ #endif
58
+
59
+ #if __cplusplus < 201103L // Check if C++ standard is pre-C++11
60
+ # ifndef nullptr
61
+ # define nullptr NULL
62
+ # endif
63
+ #endif
64
+
55
65
#if defined(PHREEQCI_GUI)
56
66
#ifdef _DEBUG
57
67
#define new DEBUG_NEW
You can’t perform that action at this time.
0 commit comments