gctf2023/pwn/flipper/dist/utils/exe2minixfs/kprintf.h

11 lines
438 B
C
Raw Normal View History

2023-11-24 18:11:34 +00:00
// 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