_POSIX_SOURCE doesn't make sense in <sys/select.h>
This commit is contained in:
parent
0f26898f82
commit
81081a4063
1 changed files with 0 additions and 4 deletions
|
@ -2,8 +2,6 @@
|
||||||
#ifndef _SYS_SELECT_H
|
#ifndef _SYS_SELECT_H
|
||||||
#define _SYS_SELECT_H 1
|
#define _SYS_SELECT_H 1
|
||||||
|
|
||||||
#ifdef _POSIX_SOURCE
|
|
||||||
|
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
@ -38,7 +36,5 @@ _PROTOTYPE( void FD_ZERO, (fd_set *fdset));
|
||||||
#define SEL_ERR (1 << 2)
|
#define SEL_ERR (1 << 2)
|
||||||
#define SEL_NOTIFY (1 << 3) /* not a real select operation */
|
#define SEL_NOTIFY (1 << 3) /* not a real select operation */
|
||||||
|
|
||||||
#endif /* _POSIX_SOURCE */
|
|
||||||
|
|
||||||
#endif /* _SYS_SELECT_H */
|
#endif /* _SYS_SELECT_H */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue