mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-21 18:38:20 -05:00
Add SGCT as submodule
Fix compile errors in ParallelConnection using __WIN32__ macro instead of WIN32
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user