projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mark ebp output of leave as ignore
[libfirm]
/
ir
/
be
/
test
/
valist.c
diff --git
a/ir/be/test/valist.c
b/ir/be/test/valist.c
index
da9c357
..
435d401
100644
(file)
--- a/
ir/be/test/valist.c
+++ b/
ir/be/test/valist.c
@@
-1,4
+1,6
@@
-#ifdef __GNUC__
+#include <stdio.h>
+
+#if defined(__FIRM_MAJOR__) && defined(__GNUC__)
#define va_start(v,l) __builtin_va_start(v,l)
#define va_end(v) __builtin_va_end(v)
#define va_arg(v,l) __builtin_va_arg(v,l)