Skip to content
Permalink
Browse files

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

  • Loading branch information...
johne53 committed Jun 23, 2019
1 parent 675759c commit 1a7a23a5cea844431a85fa49933b5ea345bf3896
Showing with 1 addition and 0 deletions.
  1. +1 −0 libs/ptformat/ptformat.cc
@@ -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

0 comments on commit 1a7a23a

Please sign in to comment.
You can’t perform that action at this time.