]>
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
);
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__
46 #endif // _WX_UNIX_PRIVATE_H_