Add a more generic option system

This commit is contained in:
angt
2015-10-30 16:34:41 +01:00
parent c9dca9269f
commit 1722b5e05f
2 changed files with 87 additions and 44 deletions

View File

@@ -14,6 +14,8 @@
#define PALIGN(x) ((void *)ALIGN((size_t)(x)))
#define PALIGN_DOWN(x) ((void *)ALIGN_DOWN((size_t)(x)))
#define _unused_ __attribute__((unused))
typedef struct buffer buffer_t;
struct buffer {