Test the existence of strndup(3) before using it.

This can eliminate the ad-hoc "#ifdef WIN32" and can also support other platforms lacking it as well (including Darwin 9).
This commit is contained in:
PHO
2015-01-26 13:02:15 +09:00
committed by Max Kellermann
parent 4c61662644
commit 023b9c1e7e
3 changed files with 8 additions and 5 deletions

1
NEWS
View File

@@ -1,5 +1,6 @@
ver 0.19.9 (not yet released)
* fix build failure with uClibc
* fix build failure on non-POSIX operating systems
ver 0.19.8 (2015/01/14)
* input