Workaround C99 restrictions