diff options
author | John Emmas <johne53@tiscali.co.uk> | 2014-11-04 13:08:00 +0000 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2014-11-04 13:23:15 +0000 |
commit | 04bda495c2ac600fab41e20129723a4adf52ddb9 (patch) | |
tree | 80704fc9e966cff4117f00f10f812b18b7f7c3eb /libs/fst/vstwin.c | |
parent | 10a7e15c78fd16642e5ab81715d0d5947fa12966 (diff) |
When building with MSVC, guard a declaration of 'strdup()' which conflicts slightly with the MSVC declaration
(maybe we should just #include <string.h> ?)
Diffstat (limited to 'libs/fst/vstwin.c')
-rw-r--r-- | libs/fst/vstwin.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <glib.h> #include "fst.h" |