apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe Jr." <wr...@rowe-clan.net>
Subject Re: svn commit: r920897 - /apr/apr/trunk/file_io/win32/open.c
Date Fri, 21 May 2010 21:57:58 GMT
On 5/21/2010 10:25 AM, Jeff Trawick wrote:
>>
>> Nope, because the Release9x flavor now would allow both NT and ANSI to
>> coexist.  If the manually toggle for only ANSI, that is just the sort of
>> hack you describe.
> 
> apr_arch_misc.h says
> 
> #if defined(_WIN32_WCE) || defined(WINNT)
> #define APR_HAS_ANSI_FS           0
> #else
> #define APR_HAS_ANSI_FS           1
> #endif
> 
> Without a manual edit here, how can one of the builds allow both NT
> and ANSI to coexist?  It seems that you get either ANSI or Unicode FS
> interface based on whether or not WINNT is defined, and not based on
> the run-time OS level.

Right, I meant  WINNT and ANSI in the abstract (run time) - where these macros
all expand to runtime condition checks.

Mime
View raw message