Another try at the OS X build fix.
[libcxml.git] / src / cxml.h
index ce62ca9664211d36129dc41fb02f0246217bb2ad..75af36b401a719e34a5fd4c3c80cb77b4902c15e 100644 (file)
 #include <boost/optional.hpp>
 #include <boost/filesystem.hpp>
 #include <boost/algorithm/string/erase.hpp>
+
+/* Hack for OS X compile failure; see https://bugs.launchpad.net/hugin/+bug/910160 */
+#ifdef check
+#undef check
+#endif
+
 #include <glibmm.h>
 
 namespace xmlpp {