summaryrefslogtreecommitdiff
path: root/crypto/bio/bss_fd.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-11-03 15:50:50 +0000
committerAndy Polyakov <appro@openssl.org>2005-11-03 15:50:50 +0000
commit1715e4885aecd804f22be7ac17afbbae6c154048 (patch)
tree2e40a4198c75c23785cc8c17de7b46dd1a2c2795 /crypto/bio/bss_fd.c
parenteff7cb41d1bbcef65b34d3f75307a1b4ad11c563 (diff)
downloadopenssl-new-1715e4885aecd804f22be7ac17afbbae6c154048.tar.gz
Reserve for OPENSSL_NO_POSIX_IO macro which is to eliminate references
to open/read/write/close. First OPENSSL_NO_POSIX_IO target would be Windows CE.
Diffstat (limited to 'crypto/bio/bss_fd.c')
-rw-r--r--crypto/bio/bss_fd.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/crypto/bio/bss_fd.c b/crypto/bio/bss_fd.c
index 5786ed495b..c4be18470f 100644
--- a/crypto/bio/bss_fd.c
+++ b/crypto/bio/bss_fd.c
@@ -56,12 +56,17 @@
* [including the GNU Public Licence.]
*/
-#if !defined(_WIN32_WCE)
-
#include <stdio.h>
#include <errno.h>
#define USE_SOCKETS
#include "cryptlib.h"
+
+#if defined(OPENSSL_NO_POSIX_IO)
+/*
+ * One can argue that one should implement dummy placeholder for
+ * BIO_s_fd here...
+ */
+#else
/*
* As for unconditional usage of "UPLINK" interface in this module.
* Trouble is that unlike Unix file descriptors [which are indexes