debugged: working
[rrq/rrqmisc.git] / tests / vectortests.c
index 6f8cdbd9205ade136d243b8e940a263b208c0286..f85f7ccf8dd7940e25180f686ecc0f07bfc70796 100644 (file)
@@ -6,7 +6,12 @@
 #include <string.h>
 #include <vector.h>
 
-#define OUT(...) fprintf( stderr, __VA_ARGS__ )
+static int LINE;
+
+#define max(a,b) ((a>b)?a:b)
+#define OUT(...) {                                               \
+       fprintf( stderr, __VA_ARGS__ );                           \
+}
 
 // dump an item; return 0 to stop
 static void itemdump(const vector_index index,const void *slot) {