stardot / MatrixBrandy

Matrix Brandy BASIC VI for Linux, Windows, MacOSX
http://brandy.matrixnetwork.co.uk/
44 stars 8 forks source link

Use strl functions on Linux, Hurd, and GNU/kFreeBSD #92

Closed brad0 closed 2 months ago

brad0 commented 2 months ago

glibc 2.38 and newer have strlcpy / strlcat. musl, Bionic and uClibc have had strl functions for a long time.

soruk42 commented 2 months ago

Thank you for this - I've merged that. It did require some files to have headers reordered so they didn't complain on glibc< 2.38 but that's fine.