00001 // 00002 // Platform_POSIX.h 00003 // 00004 // $Id: //poco/1.3/Foundation/include/Poco/Platform_POSIX.h#1 $ 00005 // 00006 // Library: Foundation 00007 // Package: Core 00008 // Module: Platform 00009 // 00010 // Platform and architecture identification macros 00011 // and platform-specific definitions for various POSIX platforms 00012 // 00013 // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. 00014 // and Contributors. 00015 // 00016 // Permission is hereby granted, free of charge, to any person or organization 00017 // obtaining a copy of the software and accompanying documentation covered by 00018 // this license (the "Software") to use, reproduce, display, distribute, 00019 // execute, and transmit the Software, and to prepare derivative works of the 00020 // Software, and to permit third-parties to whom the Software is furnished to 00021 // do so, all subject to the following: 00022 // 00023 // The copyright notices in the Software and this entire statement, including 00024 // the above license grant, this restriction and the following disclaimer, 00025 // must be included in all copies of the Software, in whole or in part, and 00026 // all derivative works of the Software, unless such copies or derivative 00027 // works are solely in the form of machine-executable object code generated by 00028 // a source language processor. 00029 // 00030 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 00031 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00032 // FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT 00033 // SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE 00034 // FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, 00035 // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 00036 // DEALINGS IN THE SOFTWARE. 00037 // 00038 00039 00040 #ifndef Foundation_Platform_POSIX_INCLUDED 00041 #define Foundation_Platform_POSIX_INCLUDED 00042 00043 00044 // 00045 // PA-RISC based HP-UX platforms have some issues... 00046 // 00047 #if defined(hpux) || defined(_hpux) 00048 #if defined(__hppa) || defined(__hppa__) 00049 #define POCO_NO_SYS_SELECT_H 1 00050 #if defined(__HP_aCC) 00051 #define POCO_NO_TEMPLATE_ICOMPARE 1 00052 #endif 00053 #endif 00054 #endif 00055 00056 00057 #endif // Foundation_Platform_POSIX_INCLUDED