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:
parent
10a7e15c78
commit
04bda495c2
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user