summaryrefslogtreecommitdiff
path: root/plugins/ZamTube/triode.h
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2017-01-24 22:02:44 +1100
committerDamien Zammit <damien@zamaudio.com>2017-02-11 18:45:23 +1100
commitbaf3e41582b34137eb28ef1b02c34a8d060fbf62 (patch)
tree8fb80ec7f61b34566e74a4b33f77dc179e76a8f7 /plugins/ZamTube/triode.h
parent03aab7106523afe225a13034566659e0453b99d2 (diff)
Fix bug with MacOS old build - ZamTube
Signed-off-by: Damien Zammit <damien@zamaudio.com>
Diffstat (limited to 'plugins/ZamTube/triode.h')
-rw-r--r--plugins/ZamTube/triode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/ZamTube/triode.h b/plugins/ZamTube/triode.h
index fd2da51..e7a70fb 100644
--- a/plugins/ZamTube/triode.h
+++ b/plugins/ZamTube/triode.h
@@ -31,6 +31,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#define SWAP_NN(x,y) {T tmp=y; y=-x; x=-tmp;}
#define TOLERANCE 1e-6
+#define MAX(x, y) (( (x) > (y) ) ? x : y )
+#define MIN(x, y) (( (x) < (y) ) ? x : y )
+
typedef double T;
static inline float