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
+2 -2
View File
@@ -22,7 +22,7 @@
* OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
****************************************************************************************/
#ifdef __WIN32__
#ifdef WIN32
#ifndef _ERRNO
#define _ERRNO WSAGetLastError()
#endif
@@ -148,7 +148,7 @@ void ParallelConnection::closeSocket(){
* SHUT_RDWR (Disables further send and receive operations)
*/
#ifdef __WIN32__
#ifdef WIN32
shutdown(_clientSocket, SD_BOTH);
closesocket(_clientSocket);
#else