Skip to content

Commit

Permalink
Huh?? I can't believe that MSVC doesn't support strndup() !!!
Browse files Browse the repository at this point in the history
  • Loading branch information
johne53 committed Jun 23, 2019
1 parent 675759c commit 1a7a23a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/ptformat/ptformat.cc
Expand Up @@ -29,6 +29,7 @@
#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
Expand Down

0 comments on commit 1a7a23a

Please sign in to comment.