hroptatyr / yuck

Your Umbrella Command Kit, a bog-standard command line option parser for C with all the knickknackery and whatnots.
Other
61 stars 7 forks source link

Fix collision with fls(int) on osx. #1

Closed mitchty closed 10 years ago

mitchty commented 10 years ago

On OSX Mavericks at least, probably back to 10.5, fls(int) is defined in string.h.

I just prefixed the internal function fls with y, not sure if thats critical or not naming wise but I can rebase to a better name of whatever if you want.

Other than that it runs fine on osx no issues. This whole library is brilliant by the way I loathe arg parsing in general but this is quite nice indeed. Keep up the good work!

hroptatyr commented 10 years ago

Cheers Mitch, both for the thumbs up and the patch. It's in now. Feel free to send me ego patches (your name in the copyright, README, etc.)

mitchty commented 10 years ago

Heh, my ego needs no waxing so I'm good. Also a 5 character change doesn't seem to be deserving.

But I was looking at making it possible to add an examples section in the manpage generation area.