Skip to content

Commit

Permalink
try to fix windows build problem, include windows.h earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Jun 2, 2024
1 parent 41b9feb commit ff2ee64
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions VCellMessaging/include/VCELL/SimulationMessaging.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
#ifndef _SIMULATIONMESSAGING_H_
#define _SIMULATIONMESSAGING_H_

#if (defined(WIN32) || defined(WIN64) )
#include <windows.h>
#else
#include <pthread.h>
#include <unistd.h>
#include <stdlib.h>
#include <memory.h>
#endif


#include <deque>
#ifdef USE_MESSAGING
#include <stdlib.h>
Expand All @@ -11,14 +21,6 @@
#include <iostream>
using namespace std;

#if (defined(WIN32) || defined(WIN64) )
#include <windows.h>
#else
#include <pthread.h>
#include <unistd.h>
#include <stdlib.h>
#include <memory.h>
#endif

#ifdef USE_MESSAGING
#if (!defined(WIN32) && !defined(WIN64) )
Expand Down

0 comments on commit ff2ee64

Please sign in to comment.