summaryrefslogtreecommitdiff
path: root/libs/fluidsynth/config.h
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2016-08-28 10:31:43 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2016-08-28 10:31:43 +0100
commitb90cfa7e3958d4e0c575aacc15ea3ca4e68de4a5 (patch)
tree4a72700e5869b62786d5e3b3b634eba09c8b627b /libs/fluidsynth/config.h
parent4d7eb04cf6f2857955528b6e24e7b6f5e21fc7d4 (diff)
Configure the new 'fluidsynth' library to be buildable with MSVC
(haven't built any fluidsynth plugins yet)
Diffstat (limited to 'libs/fluidsynth/config.h')
-rw-r--r--libs/fluidsynth/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/fluidsynth/config.h b/libs/fluidsynth/config.h
index d423dfca25..7097bc19c1 100644
--- a/libs/fluidsynth/config.h
+++ b/libs/fluidsynth/config.h
@@ -210,7 +210,11 @@
/* #undef WITH_READLINE */
/* Define if the compiler supports VLA */
+#ifndef _MSC_VER
+/* MSVC doesn't support variable length arrays (i.e. arrays
+ whose size isn't known to the compiler at build time). */
#define SUPPORTS_VLA 1
+#endif
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */