git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@25 d34b734f-a00e-4b39-a726-e4eeb87269abwx
@@ -42,7 +42,7 @@ using namespace std; | |||
//// Platform specific includes... | |||
#if defined(WIN32) || defined(WIN64) | |||
#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) | |||
//// Windows headers... | |||
@@ -26,7 +26,7 @@ | |||
//// Windows platform | |||
#if defined(WIN32) || (WIN64) | |||
#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) | |||
inline int Networking::getLastError() { // In windows you get the last error | |||
return WSAGetLastError(); // from WSAGetLastError(); |
@@ -27,7 +27,7 @@ | |||
// Platform Specific Includes ////////////////////////////////////////////////// | |||
#ifdef WIN32 | |||
#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) | |||
#include <windows.h> | |||
#endif | |||
@@ -45,7 +45,7 @@ using namespace std; | |||
// Abstracted doRawSleep() function //////////////////////////////////////////// | |||
#ifdef WIN32 | |||
#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64) | |||
// In a WIN32 environment Sleep() is defined and it works in milliseconds so | |||
// we will use that for doRawSleep(). It's important to note that under normal |