Add SGCT as submodule

Fix compile errors in ParallelConnection using __WIN32__ macro instead of WIN32
This commit is contained in:
Alexander Bock
2016-07-20 14:31:30 +02:00
parent 2b01b300b5
commit 65ddeba70c
5 changed files with 33 additions and 7 deletions

View File

@@ -43,7 +43,7 @@
#include <map>
#include <condition_variable>
#ifdef __WIN32__
#ifdef WIN32
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
@@ -52,7 +52,7 @@
#include <ws2tcpip.h>
#endif
#if defined(__WIN32__) || defined(__MING32__) || defined(__MING64__)
#if defined(WIN32) || defined(__MING32__) || defined(__MING64__)
typedef size_t _SOCKET;
#else
typedef int _SOCKET;