ulisp
ulisp copied to clipboard
changes needed to work with OpenBSD 6.4
I had to do these changes to make it compile in OpenBSD 6.4 running for Arduino Uno. I don't know if this compatible with other platforms.
Perhaps you could put your changes in #ifdef
guards? Then for compiling, one could use -D_OPENBSD_SOURCE
or the like.
Yes that could work, but I don't know how to use it as a command line option to BSD make.
But I can add the define to to CXXDEFS
in the Makefile
to make it work.
CXXDEFS = -DF_CPU=$(F_CPU) -DARDUINO=100 -D_OPENBSD_SOURCE
Per the man page, it would just be make -D_OPENBSD_SOURCES
, (See: https://man.openbsd.org/make).
Thank you. I'll add a link to this thread from the documentation for Debian and OpenBSD users.