Huh?? I can't believe that MSVC doesn't support strndup() !!!
This commit is contained in:
parent
675759c167
commit
1a7a23a5ce
@ -29,6 +29,7 @@
|
||||
#ifdef HAVE_GLIB
|
||||
# include <glib/gstdio.h>
|
||||
# define ptf_open g_fopen
|
||||
# define strndup g_strndup
|
||||
#else
|
||||
# define ptf_open fopen
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user