Move a couple of #undef's
'pbd/timing.h' now includes a call to 'std::numeric_limits<>::max()'
This commit is contained in:
@@ -31,6 +31,11 @@
|
||||
|
||||
#include "pbd/libpbd_visibility.h"
|
||||
|
||||
#ifdef COMPILER_MSVC
|
||||
#undef min
|
||||
#undef max
|
||||
#endif
|
||||
|
||||
namespace PBD {
|
||||
|
||||
LIBPBD_API bool get_min_max_avg_total (const std::vector<uint64_t>& values, uint64_t& min, uint64_t& max, uint64_t& avg, uint64_t& total);
|
||||
|
||||
@@ -22,11 +22,6 @@
|
||||
#include <sstream>
|
||||
#include <limits>
|
||||
|
||||
#ifdef COMPILER_MSVC
|
||||
#undef min
|
||||
#undef max
|
||||
#endif
|
||||
|
||||
namespace PBD {
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user