From 0a62d70a4300c2205c7861f1a351ee41fd99d8bb Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Mon, 24 Jun 2019 22:52:46 +1000 Subject: [PATCH] Revert "Huh?? I can't believe that MSVC doesn't support strndup() !!!" This reverts commit 1a7a23a5cea844431a85fa49933b5ea345bf3896. --- libs/ptformat/ptformat.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/ptformat/ptformat.cc b/libs/ptformat/ptformat.cc index 26381a6a90..b6b13b745f 100644 --- a/libs/ptformat/ptformat.cc +++ b/libs/ptformat/ptformat.cc @@ -29,7 +29,6 @@ #ifdef HAVE_GLIB # include # define ptf_open g_fopen -# define strndup g_strndup #else # define ptf_open fopen #endif