subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject svn commit: r1543235 - /subversion/trunk/subversion/include/svn_types.h
Date Tue, 19 Nov 2013 00:07:02 GMT
Author: breser
Date: Tue Nov 19 00:07:02 2013
New Revision: 1543235

URL: http://svn.apache.org/r1543235
Log:
Revert r1543234.  SWIG is defined only during the code generation.  The
generated files have SWIGPERL et al defined but not SWIG.  Sorry for
the pointless code-churn.

Modified:
    subversion/trunk/subversion/include/svn_types.h

Modified: subversion/trunk/subversion/include/svn_types.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_types.h?rev=1543235&r1=1543234&r2=1543235&view=diff
==============================================================================
--- subversion/trunk/subversion/include/svn_types.h (original)
+++ subversion/trunk/subversion/include/svn_types.h Tue Nov 19 00:07:02 2013
@@ -50,7 +50,7 @@ extern "C" {
  * @since New in 1.6.
  */
 #ifndef SVN_DEPRECATED
-# if !defined(SWIG)
+# if !defined(SWIGPERL) && !defined(SWIGPYTHON) && !defined(SWIGRUBY)
 #  if defined(__GNUC__) && (__GNUC__ >= 4 || (__GNUC__==3 && __GNUC_MINOR__>=1))
 #   define SVN_DEPRECATED __attribute__((deprecated))
 #  elif defined(_MSC_VER) && _MSC_VER >= 1300
@@ -69,7 +69,7 @@ extern "C" {
  * @since New in 1.9.
  */
 #ifndef SVN_EXPERIMENTAL
-# if !defined(SWIG)
+# if !defined(SWIGPERL) && !defined(SWIGPYTHON) && !defined(SWIGRUBY)
 #  if defined(__has_attribute)
 #    if __has_attribute(__warning__)
 #      define SVN_EXPERIMENTAL __attribute__((warning("experimental function used")))



Mime
View raw message