diff src/sysdep.c @ 5827:4d7032d36975

Allow building --without-tls on the Windows native platform
author Vin Shelton <acs@xemacs.org>
date Mon, 10 Nov 2014 13:43:46 -0500
parents b3824b7f5627
children e2fae7783046
line wrap: on
line diff
--- a/src/sysdep.c	Mon Nov 10 13:22:49 2014 -0500
+++ b/src/sysdep.c	Mon Nov 10 13:43:46 2014 -0500
@@ -188,11 +188,13 @@
      lowry@watson.ibm.com (Andy Lowry). */
   /* #### Should this be conditionalized on FIONBIO? */
 #if defined (STRIDE) || (defined (pfa) && defined (HAVE_PTYS)) || defined (AIX)
+#if !defined(WIN32_NATIVE)
   {
     int one = 1;
     ioctl (fd, FIONBIO, &one);
   }
 #endif
+#endif
 
 #ifdef F_SETFL
   fcntl (fd, F_SETFL, O_NONBLOCK);