From f17015940a7a01c94ce93a7dd437d0fcff0261bd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 3 Aug 2012 18:21:51 +0000 Subject: MSVC portability work. git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4611 a436a847-0d15-0410-975c-d299462d15a1 --- src/jalv.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/jalv.c b/src/jalv.c index d17ffb1..74ea4bd 100644 --- a/src/jalv.c +++ b/src/jalv.c @@ -19,16 +19,21 @@ #include #include #include -#include #include #include #include -#include -#include -#include + +#ifndef __cplusplus +# include +#endif #ifdef _WIN32 # include /* for _mktemp */ +# define snprintf _snprintf +#else +# include +# include +# include #endif #include "jalv_config.h" -- cgit v1.2.1