@@ -151,11 +151,10 @@ * @param port The port on the host to connect to */ - (void)connectToHost: (OFString *)host port: (uint16_t)port; -#ifdef OF_HAVE_THREADS /*! * @brief Asynchronously connect the OFTCPSocket to the specified destination. * * @param host The host to connect to * @param port The port on the host to connect to @@ -169,11 +168,11 @@ port: (uint16_t)port target: (id)target selector: (SEL)selector context: (nullable id)context; -# ifdef OF_HAVE_BLOCKS +#ifdef OF_HAVE_BLOCKS /*! * @brief Asynchronously connect the OFTCPSocket to the specified destination. * * @param host The host to connect to * @param port The port on the host to connect to @@ -180,11 +179,10 @@ * @param block The block to execute once the connection has been established */ - (void)asyncConnectToHost: (OFString *)host port: (uint16_t)port block: (of_tcp_socket_async_connect_block_t)block; -# endif #endif /*! * @brief Bind the socket to the specified host and port. *