Fivetonsofflax / opentyrian

Automatically exported from code.google.com/p/opentyrian
GNU General Public License v2.0
0 stars 0 forks source link

strchrnul not available on Darwin. #95

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run 'make' on OS X.

What is the expected output? What do you see instead?
* Expect a shiny new executable, get an error on "strchrnul" instead.

I've hacked mingw_fixes to make this function available on OS X as well:
http://code.google.com/r/flangy-opentyrian/source/detail?r=9ddcd06e486d5adbde98c
993ac10a313b63d724d

Original issue reported on code.google.com by fla...@gmail.com on 23 Nov 2009 at 5:07

GoogleCodeExporter commented 9 years ago
pulled, thanks for the fix :)

Original comment by mindless...@gmail.com on 23 Nov 2009 at 6:27

GoogleCodeExporter commented 9 years ago
Since these are no longer just mingw fixes, I suggest to rename 
mingw_fixes.[ch] to
something different, e.g. missing.[ch] (I guess "missing" is more accurate than
"fixes" anyway).

Original comment by a.h.vand...@gmail.com on 23 Nov 2009 at 8:21

GoogleCodeExporter commented 9 years ago
string_compat.c/h might be a good name, considering the contents so far.

Original comment by fla...@gmail.com on 23 Nov 2009 at 4:31