From b81b3abb456c9212cd15b042b16e28b6ebf01d53 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Thu, 25 Aug 2011 09:47:36 +0000 Subject: [PATCH] - Added safeguard not to build in WIN32 environment. --- programs/ssl/ssl_fork_server.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/programs/ssl/ssl_fork_server.c b/programs/ssl/ssl_fork_server.c index 9f76b4bfa..87c5e9c72 100644 --- a/programs/ssl/ssl_fork_server.c +++ b/programs/ssl/ssl_fork_server.c @@ -184,6 +184,13 @@ int main( void ) "POLARSSL_NET_C and/or POLARSSL_RSA_C not defined.\n"); return( 0 ); } +#elif defined(WIN32) +int main( void ) +{ + printf("WIN32 defined. This application requires fork() and signals " + "to work correctly.\n"); + return( 0 ); +} #else int main( void ) {