]> git.sur5r.net Git - openldap/blobdiff - libraries/liblber/sockbuf.c
ITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup
[openldap] / libraries / liblber / sockbuf.c
index a828d078302a9f37aeaf03d4ae5bec04186b835c..25403e16b2a4e496542c4c07acb3c58bb6aa1a93 100644 (file)
@@ -339,7 +339,7 @@ ber_pvt_sb_do_write( Sockbuf_IO_Desc *sbiod, Sockbuf_Buf *buf_out )
 int
 ber_pvt_socket_set_nonblock( ber_socket_t sd, int nb )
 {
-#if HAVE_FCNTL
+#ifdef HAVE_FCNTL
        int flags = fcntl( sd, F_GETFL);
        if( nb ) {
                flags |= O_NONBLOCK;