#else
use_nonblocking = 0;
#endif
-#if defined O_CLOEXEC
+#if O_CLOEXEC
for (use_cloexec = 0; use_cloexec <= 1; use_cloexec++)
#else
use_cloexec = 0;
if (use_nonblocking)
o_flags |= O_NONBLOCK;
#endif
-#if defined O_CLOEXEC
+#if O_CLOEXEC
if (use_cloexec)
o_flags |= O_CLOEXEC;
#endif
ASSERT (fd[0] >= 0);
ASSERT (fd[1] >= 0);
ASSERT (fd[0] != fd[1]);
- ASSERT (is_open (fd[0]) >= 0);
- ASSERT (is_open (fd[1]) >= 0);
+ ASSERT (is_open (fd[0]));
+ ASSERT (is_open (fd[1]));
if (use_cloexec)
{
ASSERT (is_cloexec (fd[0]));