You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Igor Galić <i....@brainsware.org> on 2011/07/23 04:39:31 UTC
APR trunk: apr.h.in, #if vs #ifdef
Hi folks,
when testing APR trunk with subversion on Debian and FreeBSD,
we noticed a couple of compile warnings such as:
/home/daniel/prefix/apr2/include/apr-2/apr.h:171:5: warning: "APR_HAVE_WINSOCK_H" is not defined
This seems to be caused by apr.h.in's errnous use of
#if APR_HAVE_WINSOCK_H
instead of using
#if defined(APR_HAVE_WINSOCK_H)
or
#ifdef APR_HAVE_WINSOCK_H
So long,
i
--
Igor Galić
Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 571B 8B8A FC97 266D BDA3 EF6F 43AD 80A4 5779 3257