diff --git a/VCell/src/DomainPDEScheduler.cpp b/VCell/src/DomainPDEScheduler.cpp index e0de0df61..6e23ab683 100644 --- a/VCell/src/DomainPDEScheduler.cpp +++ b/VCell/src/DomainPDEScheduler.cpp @@ -3,6 +3,7 @@ * All rights reserved. */ #ifdef WIN32 +#define _HAS_STD_BYTE 0 #include #else #include diff --git a/VCell/src/EllipticVolumeEqnBuilder.cpp b/VCell/src/EllipticVolumeEqnBuilder.cpp index 2927cd6e7..00435aa4b 100644 --- a/VCell/src/EllipticVolumeEqnBuilder.cpp +++ b/VCell/src/EllipticVolumeEqnBuilder.cpp @@ -3,6 +3,7 @@ * All rights reserved. */ #ifdef WIN32 +#define _HAS_STD_BYTE 0 #include #endif diff --git a/VCell/src/FiniteVolume.cpp b/VCell/src/FiniteVolume.cpp index cdbb63e1a..830a58d90 100644 --- a/VCell/src/FiniteVolume.cpp +++ b/VCell/src/FiniteVolume.cpp @@ -1,3 +1,8 @@ +#if (defined(WIN32) || defined(WIN64) ) +#define _HAS_STD_BYTE 0 +#include +#endif + #include #include #include diff --git a/VCell/src/TIFFImage.cpp b/VCell/src/TIFFImage.cpp index 4ec9c1ab2..8dd9a2d6c 100644 --- a/VCell/src/TIFFImage.cpp +++ b/VCell/src/TIFFImage.cpp @@ -3,6 +3,7 @@ * All rights reserved. */ #ifdef WIN32 +#define _HAS_STD_BYTE 0 #include #else #include diff --git a/VCellMessaging/include/VCELL/SimulationMessaging.h b/VCellMessaging/include/VCELL/SimulationMessaging.h index 20979cced..64b287fa6 100644 --- a/VCellMessaging/include/VCELL/SimulationMessaging.h +++ b/VCellMessaging/include/VCELL/SimulationMessaging.h @@ -1,6 +1,17 @@ #ifndef _SIMULATIONMESSAGING_H_ #define _SIMULATIONMESSAGING_H_ +#if (defined(WIN32) || defined(WIN64) ) +#define _HAS_STD_BYTE 0 +#include +#else +#include +#include +#include +#include +#endif + + #include #ifdef USE_MESSAGING #include @@ -11,14 +22,6 @@ #include using namespace std; -#if (defined(WIN32) || defined(WIN64) ) -#include -#else -#include -#include -#include -#include -#endif #ifdef USE_MESSAGING #if (!defined(WIN32) && !defined(WIN64) ) diff --git a/libzip-1.2.0/lib/zipwin32.h b/libzip-1.2.0/lib/zipwin32.h index 60f8d0cfc..407e08914 100644 --- a/libzip-1.2.0/lib/zipwin32.h +++ b/libzip-1.2.0/lib/zipwin32.h @@ -36,6 +36,7 @@ /* 0x0501 => Windows XP; needs to be at least this value because of GetFileSizeEx */ #define _WIN32_WINNT 0x0501 +#define _HAS_STD_BYTE 0 #include /* context for Win32 source */ diff --git a/smoldyn-2.38/source/lib/opengl2.h b/smoldyn-2.38/source/lib/opengl2.h index 1a919929d..406df400a 100644 --- a/smoldyn-2.38/source/lib/opengl2.h +++ b/smoldyn-2.38/source/lib/opengl2.h @@ -14,6 +14,7 @@ of the Gnu Lesser General Public License (LGPL). */ #if defined(HAVE_OPENGL) // Do NOT change the sequence of these if..elses without contacting Steve #ifdef WIN32 + #define _HAS_STD_BYTE 0 #include #endif