aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jalv.c')
-rw-r--r--src/jalv.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/jalv.c b/src/jalv.c
index eb6545a..a55d7a6 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -9,6 +9,7 @@
#include "jalv_internal.h"
#include "log.h"
#include "lv2_evbuf.h"
+#include "macros.h"
#include "nodes.h"
#include "port.h"
#include "state.h"
@@ -55,18 +56,6 @@
#include <stdlib.h>
#include <string.h>
-#ifndef MIN
-# define MIN(a, b) (((a) < (b)) ? (a) : (b))
-#endif
-
-#ifndef MAX
-# define MAX(a, b) (((a) > (b)) ? (a) : (b))
-#endif
-
-#ifndef ARRAY_SIZE
-# define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
-#endif
-
/**
Size factor for UI ring buffers.