Index: trunk/Mars/msim/MHPhotonEvent.h
===================================================================
--- trunk/Mars/msim/MHPhotonEvent.h	(revision 19009)
+++ trunk/Mars/msim/MHPhotonEvent.h	(revision 19251)
@@ -11,5 +11,7 @@
 
 #ifndef ROOT_TProfile2D
+#define err _err
 #include <TProfile2D.h>
+#undef err
 #endif
 
