From 123cc8a5f5b095cfebea092a1e49a8872fc676d4 Mon Sep 17 00:00:00 2001 From: Scott R Charlton Date: Thu, 22 Apr 2021 12:00:09 -0600 Subject: [PATCH] [phreeqci] fixed _ASSERTE error on linux builds --- PBasic.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PBasic.cpp b/PBasic.cpp index c92ffae7..5fbd2423 100644 --- a/PBasic.cpp +++ b/PBasic.cpp @@ -1,3 +1,7 @@ +#if !(defined(WIN32) && !defined(__GNUC__)) +#include +#define _ASSERTE assert +#endif #include #include "Phreeqc.h" #include "PBasic.h"