summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-03 18:11:34 +0000
committerDavid Robillard <d@drobilla.net>2012-08-03 18:11:34 +0000
commit5ee3e71a8522a7b09a02680ba8e34a69674c7880 (patch)
treede9f776707335bc32ad48144e5c296959eac2226 /src
parentfc24fabd0c12674a69e8433a4ee201a5cfc49d51 (diff)
downloadlilv-5ee3e71a8522a7b09a02680ba8e34a69674c7880.tar.gz
lilv-5ee3e71a8522a7b09a02680ba8e34a69674c7880.tar.bz2
lilv-5ee3e71a8522a7b09a02680ba8e34a69674c7880.zip
Fix compilation with MSVC.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@4610 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/lilv_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lilv_internal.h b/src/lilv_internal.h
index c01b0d3..51c3863 100644
--- a/src/lilv_internal.h
+++ b/src/lilv_internal.h
@@ -35,6 +35,7 @@ extern "C" {
# define __func__ __FUNCTION__
# define INFINITY DBL_MAX + DBL_MAX
# define NAN INFINITY - INFINITY
+# define snprintf _snprintf
# endif
static inline char* dlerror(void) { return "Unknown error"; }
#else