X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/6776a950ab780244e06e9eca5b0f2f59053cbe6f..ef57b17d968689e10ea3b2b6a75d360365645556:/puzzles.h diff --git a/puzzles.h b/puzzles.h index c80f69b..e873351 100644 --- a/puzzles.h +++ b/puzzles.h @@ -14,6 +14,9 @@ #define lenof(array) ( sizeof(array) / sizeof(*(array)) ) +#define STR_INT(x) #x +#define STR(x) STR_INT(x) + enum { LEFT_BUTTON = 0x1000, MIDDLE_BUTTON,