Initial commit

This commit is contained in:
2026-04-02 17:42:04 -07:00
commit aa4564fc55
11 changed files with 1120 additions and 0 deletions

14
util.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef INCLUDED_MACRO_H
#define INCLUDED_MACRO_H
#ifndef __has_attribute
# define __has_attribute(x) 0
#endif
#if __has_attribute(format)
# define ATTR_FORMAT(...) __attribute__((format(printf, __VA_ARGS__)))
#else
# define ATTR_FORMAT(...)
#endif
#endif