/[pcsx2_0.9.7]/trunk/3rdparty/wxWidgets/include/wx/unix/private.h
ViewVC logotype

Contents of /trunk/3rdparty/wxWidgets/include/wx/unix/private.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (show annotations) (download)
Mon Sep 6 11:40:06 2010 UTC (9 years, 10 months ago) by william
File MIME type: text/plain
File size: 1461 byte(s)
exported r3113 from ./upstream/trunk
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/unix/private.h
3 // Purpose: miscellaneous private things for Unix wx ports
4 // Author: Vadim Zeitlin
5 // Created: 2005-09-25
6 // RCS-ID: $Id: private.h 35688 2005-09-25 19:59:19Z VZ $
7 // Copyright: (c) 2005 Vadim Zeitlin <vadim@wxwindows.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_UNIX_PRIVATE_H_
12 #define _WX_UNIX_PRIVATE_H_
13
14 // standard linux headers produce many warnings when used with icc
15 #if defined(__INTELC__) && defined(__LINUX__)
16 inline void wxFD_ZERO(fd_set *fds)
17 {
18 #pragma warning(push)
19 #pragma warning(disable:593)
20 FD_ZERO(fds);
21 #pragma warning(pop)
22 }
23
24 inline void wxFD_SET(int fd, fd_set *fds)
25 {
26 #pragma warning(push, 1)
27 #pragma warning(disable:1469)
28 FD_SET(fd, fds);
29 #pragma warning(pop)
30 }
31
32 inline bool wxFD_ISSET(int fd, fd_set *fds)
33 {
34 #pragma warning(push, 1)
35 #pragma warning(disable:1469)
36 return FD_ISSET(fd, fds);
37 #pragma warning(pop)
38 }
39 #else // !__INTELC__
40 #define wxFD_ZERO(fds) FD_ZERO(fds)
41 #define wxFD_SET(fd, fds) FD_SET(fd, fds)
42 #define wxFD_ISSET(fd, fds) FD_ISSET(fd, fds)
43 #endif // __INTELC__/!__INTELC__
44
45
46 #endif // _WX_UNIX_PRIVATE_H_
47

  ViewVC Help
Powered by ViewVC 1.1.22