add tinymacro

Signed-off-by: Jari Aalto <jari.aalto@cante.net>