1 | // |
---|
2 | // Platform_POSIX.h |
---|
3 | // |
---|
4 | // $Id: //poco/1.3/Foundation/include/Poco/Platform_POSIX.h#1 $ |
---|
5 | // |
---|
6 | // Library: Foundation |
---|
7 | // Package: Core |
---|
8 | // Module: Platform |
---|
9 | // |
---|
10 | // Platform and architecture identification macros |
---|
11 | // and platform-specific definitions for various POSIX platforms |
---|
12 | // |
---|
13 | // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. |
---|
14 | // and Contributors. |
---|
15 | // |
---|
16 | // Permission is hereby granted, free of charge, to any person or organization |
---|
17 | // obtaining a copy of the software and accompanying documentation covered by |
---|
18 | // this license (the "Software") to use, reproduce, display, distribute, |
---|
19 | // execute, and transmit the Software, and to prepare derivative works of the |
---|
20 | // Software, and to permit third-parties to whom the Software is furnished to |
---|
21 | // do so, all subject to the following: |
---|
22 | // |
---|
23 | // The copyright notices in the Software and this entire statement, including |
---|
24 | // the above license grant, this restriction and the following disclaimer, |
---|
25 | // must be included in all copies of the Software, in whole or in part, and |
---|
26 | // all derivative works of the Software, unless such copies or derivative |
---|
27 | // works are solely in the form of machine-executable object code generated by |
---|
28 | // a source language processor. |
---|
29 | // |
---|
30 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
---|
31 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
---|
32 | // FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT |
---|
33 | // SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE |
---|
34 | // FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, |
---|
35 | // ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
---|
36 | // DEALINGS IN THE SOFTWARE. |
---|
37 | // |
---|
38 | |
---|
39 | |
---|
40 | #ifndef Foundation_Platform_POSIX_INCLUDED |
---|
41 | #define Foundation_Platform_POSIX_INCLUDED |
---|
42 | |
---|
43 | |
---|
44 | // |
---|
45 | // PA-RISC based HP-UX platforms have some issues... |
---|
46 | // |
---|
47 | #if defined(hpux) || defined(_hpux) |
---|
48 | #if defined(__hppa) || defined(__hppa__) |
---|
49 | #define POCO_NO_SYS_SELECT_H 1 |
---|
50 | #if defined(__HP_aCC) |
---|
51 | #define POCO_NO_TEMPLATE_ICOMPARE 1 |
---|
52 | #endif |
---|
53 | #endif |
---|
54 | #endif |
---|
55 | |
---|
56 | |
---|
57 | #endif // Foundation_Platform_POSIX_INCLUDED |
---|