From 3878959ac02e7598f6b8b161d264495ee1a5e9ef Mon Sep 17 00:00:00 2001 From: Aleksandar Fabijanic Date: Wed, 11 Mar 2009 01:10:57 +0000 Subject: [PATCH] moved POCO_HAVE_FD_POLL from Net to Foundation --- Foundation/include/Poco/Platform.h | 6 ++++++ Net/include/Poco/Net/SocketDefs.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Foundation/include/Poco/Platform.h b/Foundation/include/Poco/Platform.h index 9d77a962c..d9effd1ac 100644 --- a/Foundation/include/Poco/Platform.h +++ b/Foundation/include/Poco/Platform.h @@ -185,4 +185,10 @@ #endif +//TODO: determine all platforms having poll() call +#if (POCO_OS == POCO_OS_SOLARIS) || (POCO_OS == POCO_OS_LINUX) + #define POCO_HAVE_FD_POLL 1 +#endif + + #endif // Foundation_Platform_INCLUDED diff --git a/Net/include/Poco/Net/SocketDefs.h b/Net/include/Poco/Net/SocketDefs.h index a4946baba..df983670b 100644 --- a/Net/include/Poco/Net/SocketDefs.h +++ b/Net/include/Poco/Net/SocketDefs.h @@ -176,12 +176,6 @@ #endif -//TODO: determine all platforms having poll() call -#if (POCO_OS == POCO_OS_SOLARIS) || (POCO_OS == POCO_OS_LINUX) -#define POCO_HAVE_FD_POLL 1 -#endif - - #if (POCO_OS == POCO_OS_HPUX) || (POCO_OS == POCO_OS_SOLARIS) #define POCO_BROKEN_TIMEOUTS 1 #endif