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

problem compiling against keychain auth on mac

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2006-10-31 00:23:02 CET

Here is the prototype for the keychain auth from svn 1.4.0's svn_auth.h

#if defined(DARWIN) || defined(DOXYGEN)

* Create and return @a *provider, an authentication provider of type @c
* svn_auth_cred_simple_t that gets/sets information from the user's
* ~/.subversion configuration directory. Allocate @a *provider in
* @a pool.
* This is like svn_client_get_simple_provider(), except that the
* password is stored in the Mac OS KeyChain.
* @since New in 1.4
* @note This function is only available on Mac OS 10.2 and higher.
                                       apr_pool_t *pool);

#endif /* DARWIN || DOXYGEN */

But XCODE g++ does not define DARWIN. How is this supposed to work?

Isn't __APPLE__ a better define to use?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 31 00:23:33 2006

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.