Attempt to fix OS X build failure.
authorCarl Hetherington <cth@carlh.net>
Mon, 21 Jul 2014 13:51:17 +0000 (14:51 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 21 Jul 2014 13:51:17 +0000 (14:51 +0100)
src/cxml.h

index ce62ca9664211d36129dc41fb02f0246217bb2ad..40670c33abf484f481539e390cc9692abfa36fff 100644 (file)
 #include <boost/algorithm/string/erase.hpp>
 #include <glibmm.h>
 
+/* Hack for OS X compile failure; see https://bugs.launchpad.net/hugin/+bug/910160 */
+#ifdef check
+#undef check
+#endif
+
 namespace xmlpp {
        class Node;
        class DomParser;