From 162b485cf63f90d88424eb4021c874038e2c0f3c Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 25 Apr 2013 23:25:39 -0700 Subject: [PATCH] printf can be a macro already, so #undef it --- test/default/cmptest.h | 1 + 1 file changed, 1 insertion(+) diff --git a/test/default/cmptest.h b/test/default/cmptest.h index 8f393073..fa639550 100644 --- a/test/default/cmptest.h +++ b/test/default/cmptest.h @@ -39,6 +39,7 @@ int main(void) return 0; } +#undef printf #define printf(...) fprintf(fp_res, __VA_ARGS__) #define main xmain