3
0
mirror of https://github.com/CrazyRedMachine/popnhax.git synced 2024-11-27 23:40:50 +01:00
popnhax/util/log.h

15 lines
233 B
C
Raw Normal View History

2023-06-30 00:56:02 +02:00
#ifndef __LOG_H__
#define __LOG_H__
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
extern FILE *g_log_fp;
#define LOG(...) do { \
fprintf(g_log_fp, __VA_ARGS__); \
fflush(g_log_fp);\
} while (0)
#endif