diff --git a/src/hugin1/base_wx/wxPanoCommand.cpp b/src/hugin1/base_wx/wxPanoCommand.cpp --- a/src/hugin1/base_wx/wxPanoCommand.cpp +++ b/src/hugin1/base_wx/wxPanoCommand.cpp @@ -38,6 +38,11 @@ #include "HFOVDialog.h" #include +#ifdef MAC_OS_X +// In the case boost got error with macro "check()", uncomment following two lines. +#include +#undef check +#endif #include #include #include