apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <i.ga...@brainsware.org>
Subject APR trunk: apr.h.in, #if vs #ifdef
Date Sat, 23 Jul 2011 02:39:31 GMT

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

Mime
View raw message