Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed build on non-mac os x

  • Loading branch information...
commit eb85a82480e8153da7a24062c1f9258c2a2f38f4 1 parent 039372e
@dinhviethoa dinhviethoa authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/data-types/mailstream_cfstream.c
View
4 src/data-types/mailstream_cfstream.c
@@ -516,6 +516,7 @@ static void mailstream_low_cfstream_free(mailstream_low * s)
static int mailstream_low_cfstream_get_fd(mailstream_low * s)
{
+#if HAVE_CFNETWORK
struct mailstream_cfstream_data * cfstream_data = NULL;
CFDataRef native_handle_data = NULL;
CFSocketNativeHandle native_handle_value = -1;
@@ -546,6 +547,9 @@ static int mailstream_low_cfstream_get_fd(mailstream_low * s)
CFRelease(native_handle_data);
return native_handle_value;
+#else
+ return -1;
+#endif
}
#if HAVE_CFNETWORK
Please sign in to comment.
Something went wrong with that request. Please try again.