Revert "Huh?? I can't believe that MSVC doesn't support strndup() !!!"
authorDamien Zammit <damien@zamaudio.com>
Mon, 24 Jun 2019 12:52:46 +0000 (22:52 +1000)
committerDamien Zammit <damien@zamaudio.com>
Mon, 24 Jun 2019 12:52:46 +0000 (22:52 +1000)
This reverts commit 1a7a23a5cea844431a85fa49933b5ea345bf3896.

libs/ptformat/ptformat.cc

index 26381a6a90788a99206b06668f953a71623223b0..b6b13b745f454d7cea1896741e677115c80b98a7 100644 (file)
@@ -29,7 +29,6 @@
 #ifdef HAVE_GLIB
 # include <glib/gstdio.h>
 # define ptf_open      g_fopen
-# define strndup       g_strndup
 #else
 # define ptf_open      fopen
 #endif