This uses just ONE line in dda.c, then adds a file (graycode.c) with everything else.
Graycode isn't something that most people will use, but it is something that I and at least one other guy use. For that reason, I stuck the "configuration" in the source files instead of config.h.dist. In there it would just be distracting for most people, and that's not what we need.
This minor change means that it works on my machine by uncommenting that one line in dda.c.
This was prepared using stgit, so all the changes are rolled up into one commit and prettified. I recommend stg to anybody trying to do this sort of thing. Trying to pull the current master in from triffid's repository into a branch of mine was much more difficult.
This uses just ONE line in dda.c, then adds a file (graycode.c) with everything else.
Graycode isn't something that most people will use, but it is something that I and at least one other guy use. For that reason, I stuck the "configuration" in the source files instead of config.h.dist. In there it would just be distracting for most people, and that's not what we need.
This minor change means that it works on my machine by uncommenting that one line in dda.c.
This was prepared using stgit, so all the changes are rolled up into one commit and prettified. I recommend stg to anybody trying to do this sort of thing. Trying to pull the current master in from triffid's repository into a branch of mine was much more difficult.