diff options
Diffstat (limited to 'third_party/speex')
-rw-r--r-- | third_party/speex/include/speex/speex.h | 2 | ||||
-rw-r--r-- | third_party/speex/libspeex/stack_alloc.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/third_party/speex/include/speex/speex.h b/third_party/speex/include/speex/speex.h index 82ba0162..b16b1aba 100644 --- a/third_party/speex/include/speex/speex.h +++ b/third_party/speex/include/speex/speex.h @@ -411,7 +411,7 @@ extern const SpeexMode * const speex_mode_list[SPEEX_NB_MODES]; /** Obtain one of the modes available */ const SpeexMode * speex_lib_get_mode (int mode); -#ifndef WIN32 +#if (!defined(WIN32) && !defined(WIN64)) /* We actually override the function in the narrowband case so that we can avoid linking in the wideband stuff */ #define speex_lib_get_mode(mode) ((mode)==SPEEX_MODEID_NB ? &speex_nb_mode : speex_lib_get_mode (mode)) #endif diff --git a/third_party/speex/libspeex/stack_alloc.h b/third_party/speex/libspeex/stack_alloc.h index 5264e666..bd973fa3 100644 --- a/third_party/speex/libspeex/stack_alloc.h +++ b/third_party/speex/libspeex/stack_alloc.h @@ -36,7 +36,7 @@ #define STACK_ALLOC_H #ifdef USE_ALLOCA -# ifdef WIN32 +# if (defined(WIN32) || defined(WIN64)) # include <malloc.h> # else # ifdef HAVE_ALLOCA_H |