You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by fu...@apache.org on 2013/05/27 01:58:17 UTC

svn commit: r1486493 - in /apr/apr/trunk/include: apr_version.h apu_version.h

Author: fuankg
Date: Sun May 26 23:58:15 2013
New Revision: 1486493

URL: http://svn.apache.org/r1486493
Log:
Make APR_IS_DEV_STRING define-able from CFLAGS;
simplyfied APu_IS_DEV_STRING define.

Modified:
    apr/apr/trunk/include/apr_version.h
    apr/apr/trunk/include/apu_version.h

Modified: apr/apr/trunk/include/apr_version.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_version.h?rev=1486493&r1=1486492&r2=1486493&view=diff
==============================================================================
--- apr/apr/trunk/include/apr_version.h (original)
+++ apr/apr/trunk/include/apr_version.h Sun May 26 23:58:15 2013
@@ -90,7 +90,9 @@
 
 #if defined(APR_IS_DEV_VERSION) || defined(DOXYGEN)
 /** Internal: string form of the "is dev" flag */
+#ifndef APR_IS_DEV_STRING
 #define APR_IS_DEV_STRING "-dev"
+#endif
 #else
 #define APR_IS_DEV_STRING ""
 #endif

Modified: apr/apr/trunk/include/apu_version.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apu_version.h?rev=1486493&r1=1486492&r2=1486493&view=diff
==============================================================================
--- apr/apr/trunk/include/apu_version.h (original)
+++ apr/apr/trunk/include/apu_version.h Sun May 26 23:58:15 2013
@@ -81,11 +81,7 @@
 #  define APU_IS_DEV_VERSION
 #endif
 
-#if defined(APU_IS_DEV_VERSION) || defined(DOXYGEN)
 /** Internal: string form of the "is dev" flag */
-#define APU_IS_DEV_STRING "-dev"
-#else
-#define APU_IS_DEV_STRING ""
-#endif
+#define APU_IS_DEV_STRING       APR_IS_DEV_STRING
 
 #endif /* ndef APU_VERSION_H */