Permalink
Browse files

Factored out OPEN_FD for Windows

  • Loading branch information...
1 parent 2129ef1 commit fcd3cd2fb98a68c52b434a3e6c152e81f632e1c8 @bwlewis committed Feb 28, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/libsock.c
View
@@ -31,7 +31,7 @@ SEXP OPEN_FD()
{
#ifdef WIN32
return R_NilValue;
-#endif
+#else
SEXP ans;
struct stat s;
int j, k, l = 0;
@@ -52,6 +52,7 @@ SEXP OPEN_FD()
}
UNPROTECT (1);
return ans;
+#endif
}

0 comments on commit fcd3cd2

Please sign in to comment.