You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "D.J. Heap" <dj...@shadyvale.net> on 2003/05/10 22:36:36 UTC

io.c

Has anyone else built and run tests on Windows lately?

After investigating all the test failures I've been getting the last 
couple of days, it appears that SVN_WIN32 is never getting defined for 
libsvn_subr\io.c -- so svn_io_remove_file and svn_io_copy_file fail 
quite often in Windows.

Is my build just messed up somehow or does io.c need to #include 
"svn_private_config.h"?  Most of the other source files in libsvn_subr 
include it -- stream.c, path.c, cmdline.c, etc, but I was wondering if 
it supposed to pick it up via another include or something.

DJ


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: io.c

Posted by Branko Čibej <br...@xbc.nu>.
D.J. Heap wrote:

> Has anyone else built and run tests on Windows lately?
>
> After investigating all the test failures I've been getting the last
> couple of days, it appears that SVN_WIN32 is never getting defined for
> libsvn_subr\io.c -- so svn_io_remove_file and svn_io_copy_file fail
> quite often in Windows.
>
> Is my build just messed up somehow or does io.c need to #include
> "svn_private_config.h"?  Most of the other source files in libsvn_subr
> include it -- stream.c, path.c, cmdline.c, etc, but I was wondering if
> it supposed to pick it up via another include or something.


SVN_WIN32 is defined in svn_private_config.h, and nowhere else. So that
header needs to be included if the symbol is used.

-- 
Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org