lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nwelln...@apache.org
Subject [01/12] lucy-clownfish git commit: Probe for va_copy needed by CommonMark
Date Sun, 18 Jan 2015 18:44:37 GMT
Repository: lucy-clownfish
Updated Branches:
  refs/heads/master 9e23ec51b -> aa82267a9


Probe for va_copy needed by CommonMark


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/9a13d0b1
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/9a13d0b1
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/9a13d0b1

Branch: refs/heads/master
Commit: 9a13d0b108e1409b7724b1696ac88b3099207e89
Parents: 9e23ec5
Author: Nick Wellnhofer <wellnhofer@aevum.de>
Authored: Sat Jan 10 18:42:24 2015 +0100
Committer: Nick Wellnhofer <wellnhofer@aevum.de>
Committed: Sat Jan 10 18:42:24 2015 +0100

----------------------------------------------------------------------
 compiler/common/charmonizer.main | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/9a13d0b1/compiler/common/charmonizer.main
----------------------------------------------------------------------
diff --git a/compiler/common/charmonizer.main b/compiler/common/charmonizer.main
index 1aff90c..d760a7a 100644
--- a/compiler/common/charmonizer.main
+++ b/compiler/common/charmonizer.main
@@ -77,6 +77,11 @@ int main(int argc, const char **argv) {
         S_write_makefile(cli);
     }
 
+    /* Needed by cmark. */
+    if (chaz_HeadCheck_defines_symbol("va_copy", "#include <stdarg.h>")) {
+        chaz_ConfWriter_append_conf("#define CHY_HAS_VA_COPY\n\n");
+    }
+
     /* Clean up. */
     chaz_CLI_destroy(cli);
     chaz_Probe_clean_up();


Mime
View raw message