gctf2023/pwn/flipper/dist/utils/exe2minixfs/kprintf.h
2023-11-24 13:11:34 -05:00

11 lines
438 B
C

// WARNING: You are looking for the other kprintf.h - this one is just for the exe2minixfs tool!
#ifdef EXE2MINIXFS
#pragma once
#include <stdio.h>
#define kprintfd(fmt,args...) do { printf(fmt, ## args); } while (0)
#define kprintf(fmt,args...) do { printf(fmt, ## args); } while (0)
#define debug(flag,fmt,args...) do { if (flag & 0x80000000) { printf(fmt,## args); } } while(0)
#define isDebugEnabled(flag) (flag & 0x80000000)
#endif