lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r467451 - /lucene/lucy/trunk/charmonizer/src/Charmonizer/Modules/VariadicMacros.charm
Date Tue, 24 Oct 2006 19:47:40 GMT
Author: marvin
Date: Tue Oct 24 12:47:39 2006
New Revision: 467451

URL: http://svn.apache.org/viewvc?view=rev&rev=467451
Log:
Fix bug where short version of HAS_GNUC_VARIADIC_MACROS wasn't being
generated.

Modified:
    lucene/lucy/trunk/charmonizer/src/Charmonizer/Modules/VariadicMacros.charm

Modified: lucene/lucy/trunk/charmonizer/src/Charmonizer/Modules/VariadicMacros.charm
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/charmonizer/src/Charmonizer/Modules/VariadicMacros.charm?view=diff&rev=467451&r1=467450&r2=467451
==============================================================================
--- lucene/lucy/trunk/charmonizer/src/Charmonizer/Modules/VariadicMacros.charm (original)
+++ lucene/lucy/trunk/charmonizer/src/Charmonizer/Modules/VariadicMacros.charm Tue Oct 24
12:47:39 2006
@@ -54,9 +54,9 @@
     /* test for GNU-style variadic macros */
     output = capture_output(gnuc_code, strlen(gnuc_code), &output_len);
     if (output != NULL) {
+        has_gnuc_varmacros = true;
         if (has_varmacros == false) {
             has_varmacros = true;
-            has_gnuc_varmacros = true;
             append_conf(conf_fh, "#define %sHAS_VARIADIC_MACROS\n", 
                 constant_prefix);
         }



Mime
View raw message