print.h update
authorken <ken@mihrtec.com>
Sat, 18 Feb 2017 19:06:05 +0000 (11:06 -0800)
committerken <ken@mihrtec.com>
Sat, 18 Feb 2017 19:06:05 +0000 (11:06 -0800)
src/binaryout.c

index f4eea8a..8627be6 100644 (file)
 #include <unistr.h>   //u32_cpy
 #include <unistdio.h> //ulc_fprintf
 /* Local */
 #include <unistr.h>   //u32_cpy
 #include <unistdio.h> //ulc_fprintf
 /* Local */
+#define  eprintf_callback(...) exit(EXIT_FAILURE)
 #include "print.h"
 #include "apc.h"
 #include "ir.h"
 #include "pagenode.h"
 #include "print.h"
 #include "apc.h"
 #include "ir.h"
 #include "pagenode.h"
-#undef  do_error
-#define do_error(...) exit(-1)
 #define XXH_PRIVATE_API
 #include "../xxHash/xxhash.h"
 #define STB_IMAGE_IMPLEMENTATION
 #define XXH_PRIVATE_API
 #include "../xxHash/xxhash.h"
 #define STB_IMAGE_IMPLEMENTATION