[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 1677 - trunk/subversion/libsvn_wc

From: <cmpilato_at_collab.net>
Date: 2002-04-12 19:36:31 CEST

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> cmpilato@collab.net writes:
> > > Hmmm -- what was the reason for the switch?
> >
> > ANSI-C-ness. :-) I got a build error on Win32.
>
> Hmmm. apr_general.h is supposed to provide that for us, I thought; I
> wonder why it's not working for Win32...
>
> /**
> * A couple of prototypes for functions in case some platform doesn't
> * have it
> */
> #if <!APR_HAVE_STRCASECMP> && <APR_HAVE_STRICMP>
> #define strcasecmp<s1, s2> stricmp<s1, s2>
> #elif <!APR_HAVE_STRCASECMP>
> int strcasecmp<const char *a, const char *b>;
> #endif
>
> ?

That's a good question. apr.hw (which is copied to apr.h) defines
APR_HAVE_STRICMP as `1' for all Windows platforms except WinCE. Hm...

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 12 19:39:04 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.