Skip to content

Commit 4c2ce41

Browse files
committed
Add NOMINMAX define to prevent compile errors against older versions of Maya.
1 parent 1788f5c commit 4c2ce41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/n_clampAngle.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ You may use, distribute, or modify this code under the terms of the MIT license.
99
// Restricts the value of an input angle to between a minimum and maximum value.
1010
//-----------------------------------------------------------------------------
1111

12+
#define NOMINMAX
13+
1214
#include "n_clampAngle.h"
1315
#include "node.h"
1416

0 commit comments

Comments
 (0)