mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Huh?? I can't believe that MSVC doesn't support strndup() !!!
This commit is contained in:
parent
675759c167
commit
1a7a23a5ce
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue