summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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