Revert "Huh?? I can't believe that MSVC doesn't support strndup() !!!"

This reverts commit 1a7a23a5ce.
This commit is contained in:
Damien Zammit 2019-06-24 22:52:46 +10:00
parent 1a7a23a5ce
commit 0a62d70a43

View file

@ -29,7 +29,6 @@
#ifdef HAVE_GLIB #ifdef HAVE_GLIB
# include <glib/gstdio.h> # include <glib/gstdio.h>
# define ptf_open g_fopen # define ptf_open g_fopen
# define strndup g_strndup
#else #else
# define ptf_open fopen # define ptf_open fopen
#endif #endif