Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions urdf/src/model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@
#include <utility>
#include <vector>

// Windows has preprocessor defines for "max", which conflicts with
// several things (one of them being std::numeric_limits<T>::max()). Since
// we know we aren't going to use that macros, and this is a cpp (not header
// file), we just undefine it on Windows.
#ifdef _WIN32
#undef max
#endif

namespace urdf
{
Expand Down