diff --git a/libs/pbd/MSVCpbd/pbd.vcproj b/libs/pbd/MSVCpbd/pbd.vcproj index 244328d41b..4e3866d01b 100644 --- a/libs/pbd/MSVCpbd/pbd.vcproj +++ b/libs/pbd/MSVCpbd/pbd.vcproj @@ -450,6 +450,14 @@ RelativePath="..\textreceiver.cc" > + + + + @@ -800,6 +808,14 @@ RelativePath="..\pbd\textreceiver.h" > + + + + diff --git a/libs/pbd/timing.cc b/libs/pbd/timing.cc index b811c09f96..c6f76211c2 100644 --- a/libs/pbd/timing.cc +++ b/libs/pbd/timing.cc @@ -22,6 +22,11 @@ #include #include +#ifdef COMPILER_MSVC +#undef min +#undef max +#endif + namespace PBD { bool