summary refs log tree commit diff stats
path: root/compiler/c2nim/tests/systest.c
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/c2nim/tests/systest.c')
-rwxr-xr-xcompiler/c2nim/tests/systest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/c2nim/tests/systest.c b/compiler/c2nim/tests/systest.c
index 241526e07..2a9dd6c28 100755
--- a/compiler/c2nim/tests/systest.c
+++ b/compiler/c2nim/tests/systest.c
@@ -17,6 +17,8 @@ int   aw_instance_callback_set (AW_CALLBACK c, callback_t callback);
 
 unsigned long int wawa;
 
+#define MAX(x, y) ((x) < (y)? (y) : (x))
+
 #define AW_BUILD 85 // AW 5.0
 // Limits
 #define AW_MAX_AVCHANGE_PER_SECOND 10