From 9fd067c9da339fc61db9b8af6fcb58649f5613bd Mon Sep 17 00:00:00 2001 From: mpc Date: Mon, 28 Jun 2004 23:24:50 +0000 Subject: [PATCH] Putting socks/threads/logger/misc in a separate library --- apps/enclave/src/platform.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/enclave/src/platform.hpp b/apps/enclave/src/platform.hpp index d9b32f7686..1afbbd603d 100644 --- a/apps/enclave/src/platform.hpp +++ b/apps/enclave/src/platform.hpp @@ -40,7 +40,9 @@ #define CYGWIN 3 // Cygwin #if OS == MINGW + #define NO_SSIZE_T #define WIN_STRERROR + #define WINSOCK #define WINTHREADS #endif @@ -66,6 +68,10 @@ using namespace std; +#ifdef NO_SSIZE_T + typedef signed long ssize_t; +#endif + /* * Define this to '1' to cause the printing of source code file and line number * information with each log message. Set it to '0' for simple logging.