Fixes following Visual Studio 2013 compile error on windows:
drivers\opus\celt\bands.c(555) : error C2057: expected constant expression drivers\opus\celt\bands.c(555) : error C2466: cannot allocate an array of constant size 0 drivers\opus\celt\bands.c(555) : error C2133: 'tmp' : unknown size
This commit is contained in:
parent
c69afe4948
commit
d99727d099
1 changed files with 7 additions and 2 deletions
|
@ -91,8 +91,13 @@
|
|||
/* This is a build of OPUS */
|
||||
#define OPUS_BUILD /**/
|
||||
|
||||
/* Use C99 variable-size arrays */
|
||||
#define VAR_ARRAYS 1
|
||||
#ifndef WIN32
|
||||
/* Use C99 variable-size arrays */
|
||||
#define VAR_ARRAYS 1
|
||||
#else
|
||||
/* Fixes VS 2013 compile error */
|
||||
#define USE_ALLOCA 1
|
||||
#endif
|
||||
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
|
|
Loading…
Reference in a new issue