summary refs log tree commit diff stats
path: root/compiler/c2nim/tests/systest.c
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-12-31 17:53:37 +0100
committerAraq <rumpf_a@web.de>2012-12-31 17:53:37 +0100
commit9ef367db62e6b0acff8d6c845375830080d0d77d (patch)
tree4ca735e56bbacf7ee96a2b93479ab3955c77f711 /compiler/c2nim/tests/systest.c
parent7d24a43e6191472171af623b85a5265550814f3a (diff)
downloadNim-9ef367db62e6b0acff8d6c845375830080d0d77d.tar.gz
fixed a newly introduced c2nim bug; many untested improvements to the FFI at compile time
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