]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/unix/private.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/unix/private.h
3 // Purpose: miscellaneous private things for Unix wx ports
4 // Author: Vadim Zeitlin
7 // Copyright: (c) 2005 Vadim Zeitlin <vadim@wxwindows.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_UNIX_PRIVATE_H_
12 #define _WX_UNIX_PRIVATE_H_
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
)
19 #pragma warning(disable:593)
24 inline void wxFD_SET(int fd
, fd_set
*fds
)
26 #pragma warning(push, 1)
27 #pragma warning(disable:1469)
32 inline bool wxFD_ISSET(int fd
, fd_set
*fds
)
34 #pragma warning(push, 1)
35 #pragma warning(disable:1469)
36 return FD_ISSET(fd
, fds
);
39 inline bool wxFD_CLR(int fd
, fd_set
*fds
)
41 #pragma warning(push, 1)
42 #pragma warning(disable:1469)
43 return FD_CLR(fd
, fds
);
47 #define wxFD_ZERO(fds) FD_ZERO(fds)
48 #define wxFD_SET(fd, fds) FD_SET(fd, fds)
49 #define wxFD_ISSET(fd, fds) FD_ISSET(fd, fds)
50 #define wxFD_CLR(fd, fds) FD_CLR(fd, fds)
51 #endif // __INTELC__/!__INTELC__
54 #endif // _WX_UNIX_PRIVATE_H_