13
0

When building with MSVC, guard a declaration of 'strdup()' which conflicts slightly with the MSVC declaration

(maybe we should just #include <string.h> ?)
This commit is contained in:
John Emmas 2014-11-04 13:08:00 +00:00
parent 10a7e15c78
commit 04bda495c2

View File

@ -20,7 +20,10 @@ static unsigned int idle_id = 0;
#endif
#ifndef COMPILER_MSVC
extern char * strdup (const char *);
#endif
#include <glib.h>
#include "fst.h"