XEmacs 21.2.6
[chise/xemacs-chise.git.1] / src / sysdep.c
index 9755327..a24221d 100644 (file)
@@ -212,7 +212,9 @@ set_descriptor_non_blocking (int fd)
   }
 #endif
 
   }
 #endif
 
+#ifdef F_SETFL
   fcntl (fd, F_SETFL, O_NONBLOCK);
   fcntl (fd, F_SETFL, O_NONBLOCK);
+#endif
 }
 
 #if defined (NO_SUBPROCESSES)
 }
 
 #if defined (NO_SUBPROCESSES)