From 04bda495c2ac600fab41e20129723a4adf52ddb9 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Tue, 4 Nov 2014 13:08:00 +0000 Subject: [PATCH] When building with MSVC, guard a declaration of 'strdup()' which conflicts slightly with the MSVC declaration (maybe we should just #include ?) --- libs/fst/vstwin.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/fst/vstwin.c b/libs/fst/vstwin.c index 27fb3cbead..fe0afa7593 100644 --- a/libs/fst/vstwin.c +++ b/libs/fst/vstwin.c @@ -20,7 +20,10 @@ static unsigned int idle_id = 0; #endif +#ifndef COMPILER_MSVC extern char * strdup (const char *); +#endif + #include #include "fst.h" -- 2.30.2