diff options
-rw-r--r-- | network_io/win32/sockets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network_io/win32/sockets.c b/network_io/win32/sockets.c index fa68ce6b2..408e9d05b 100644 --- a/network_io/win32/sockets.c +++ b/network_io/win32/sockets.c @@ -114,7 +114,7 @@ APR_DECLARE(apr_status_t) apr_socket_create(apr_socket_t **new, int family, * purposes, always transform the socket() created as a non-inherited * handle */ -#if APR_HAS_UNICODE_FS +#if APR_HAS_UNICODE_FS && !defined(_WIN32_WCE) IF_WIN_OS_IS_UNICODE { /* A different approach. Many users report errors such as * (32538)An operation was attempted on something that is not @@ -129,7 +129,7 @@ APR_DECLARE(apr_status_t) apr_socket_create(apr_socket_t **new, int family, HANDLE_FLAG_INHERIT, 0); } #endif -#if APR_HAS_ANSI_FS +#if APR_HAS_ANSI_FS || defined(_WIN32_WCE) ELSE_WIN_OS_IS_ANSI { HANDLE hProcess = GetCurrentProcess(); HANDLE dup; |