Skip to content

Instantly share code, notes, and snippets.

@sophiebits
Created September 1, 2009 05:06
Show Gist options
  • Select an option

  • Save sophiebits/178912 to your computer and use it in GitHub Desktop.

Select an option

Save sophiebits/178912 to your computer and use it in GitHub Desktop.
diff -Naur old/lib/archive.c new/lib/archive.c
--- old/lib/archive.c
+++ new/lib/archive.c
@@ -79,6 +79,10 @@
#define LONG_MIN INT32_MIN
#endif
+#if LIBXML_VERSION < 20618
+#define xmlDictCleanup() /* function doesn't exist in older API */
+#endif
+
static int32_t xar_unserialize(xar_t x);
void xar_serialize(xar_t x, const char *file);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment