diff -r 2220707c5719 src/hugin1/ptbatcher/BatchFrame.cpp --- a/src/hugin1/ptbatcher/BatchFrame.cpp Wed Feb 28 18:36:07 2018 +0100 +++ b/src/hugin1/ptbatcher/BatchFrame.cpp Sat Mar 03 04:17:21 2018 +0100 @@ -31,7 +31,9 @@ #include "FailedProjectsDialog.h" #ifdef __WXMSW__ #include +#ifdef _MSC_VER #pragma comment(lib, "PowrProf.lib") +#endif #if wxCHECK_VERSION(3,1,0) #include #endif