Proposal: Add #define to show new API element is available
From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2005-04-02 17:18:21 CEST
I've just been adding code to deal with detecting new API functions.
#if (SVN_VER_MAJOR == 1 && SVN_VER_MINOR >= 1) || SVN_VER_MAJOR > 1
#if (SVN_VER_MAJOR == 1 && SVN_VER_MINOR >= 2) || SVN_VER_MAJOR > 1
What would have made this all a lot easier is if the feature test
In svn_client.h how about having
#define SVN_HAS_CLIENT_ADD2
Then code that builds on top of svn can test for features and avoid the
Barry
---------------------------------------------------------------------
|
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.