From 67688af4badbfb6a5392dcd5782178889d2dc6a0 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Wed, 30 Aug 2023 15:34:56 +0800 Subject: [PATCH] Add `assert.h` --- helper.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/helper.h b/helper.h index f232ecd..ce9900c 100644 --- a/helper.h +++ b/helper.h @@ -9,9 +9,15 @@ * helper functions and macros * -------------------------------------------------------------*/ +#ifndef XY_H +#define XY_H + #include #include #include +#include + +// #define NDEBUG #ifdef _WIN32 #include @@ -118,3 +124,5 @@ xy_warn (const char* str1) fprintf(stderr, buf); free(buf); } + +#endif