diff options
Diffstat (limited to 'src/runtime/c/pgf/panic.c')
| -rw-r--r-- | src/runtime/c/pgf/panic.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/panic.c b/src/runtime/c/pgf/panic.c new file mode 100644 index 000000000..2a8553a83 --- /dev/null +++ b/src/runtime/c/pgf/panic.c @@ -0,0 +1,8 @@ +#include "panic.h" +#include <stdio.h> + +void __pgf_panic(char *msg) { + printf("%s\n",msg); + fflush(stdout); + exit(1); +} |
