New invincible implementation

This commit is contained in:
topjohnwu
2017-11-28 03:42:48 +08:00
parent d15fff95b9
commit b4015f877f
7 changed files with 53 additions and 20 deletions
+1
View File
@@ -45,6 +45,7 @@ void start_debug_log();
#include <stdio.h>
#define LOGI(...)
#define LOGE(...) { fprintf(stderr, __VA_ARGS__); exit(1); }
#define PLOGE(fmt, args...) { fprintf(stderr, fmt " failed with %d: %s\n\n", ##args, errno, strerror(errno)); exit(1); }