From b1f9e28cd155459ab2843690c248ed9f4767bc3f Mon Sep 17 00:00:00 2001 From: Fire-Head Date: Sun, 2 Jun 2019 06:00:38 +0300 Subject: skeleton updated, windows specific stuff added --- src/common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index 90244580..6031364f 100644 --- a/src/common.h +++ b/src/common.h @@ -133,7 +133,8 @@ inline float sq(float x) { return x*x; } int myrand(void); void mysrand(unsigned int seed); -#define debug printf +#define debug(f, ...) printf("[DBG]: " f "\n", __VA_ARGS__) +#define DEV(f, ...) printf("[DEV]: " f "", __VA_ARGS__) #define ASSERT assert #define _TODO(x) -- cgit v1.2.3