@@ -128,11 +128,11 @@ * @param port The port on the host to connect to */ - (void)connectToHost: (OFString*)host port: (uint16_t)port; -#ifdef OF_THREADS +#ifdef OF_HAVE_THREADS /*! * @brief Asyncronously connect the OFTCPSocket to the specified destination. * * @param host The host to connect to * @param port The port on the host to connect to