diff options
Diffstat (limited to 'compiler-rt/test/shadowcallstack/init.c')
-rw-r--r-- | compiler-rt/test/shadowcallstack/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/compiler-rt/test/shadowcallstack/init.c b/compiler-rt/test/shadowcallstack/init.c index 8dad6bdbbb2..f84f38d713e 100644 --- a/compiler-rt/test/shadowcallstack/init.c +++ b/compiler-rt/test/shadowcallstack/init.c @@ -6,11 +6,15 @@ // Basic smoke test for the runtime +#include "libc_support.h" + #ifdef INCLUDE_RUNTIME #include "minimal_runtime.h" +#else +#define scs_main main #endif -int main(int argc, char **argv) { - printf("In main.\n"); +int scs_main(void) { + scs_fputs_stdout("In main.\n"); return 0; } |