From ff2ee64efa1996189fb0ef55a03c001508fde514 Mon Sep 17 00:00:00 2001 From: jcschaff Date: Sun, 2 Jun 2024 11:24:14 -0400 Subject: [PATCH] try to fix windows build problem, include windows.h earlier --- .../include/VCELL/SimulationMessaging.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/VCellMessaging/include/VCELL/SimulationMessaging.h b/VCellMessaging/include/VCELL/SimulationMessaging.h index 20979cced..83502c0cc 100644 --- a/VCellMessaging/include/VCELL/SimulationMessaging.h +++ b/VCellMessaging/include/VCELL/SimulationMessaging.h @@ -1,6 +1,16 @@ #ifndef _SIMULATIONMESSAGING_H_ #define _SIMULATIONMESSAGING_H_ +#if (defined(WIN32) || defined(WIN64) ) +#include +#else +#include +#include +#include +#include +#endif + + #include #ifdef USE_MESSAGING #include @@ -11,14 +21,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) )