summaryrefslogtreecommitdiff
path: root/third_party/speex
diff options
context:
space:
mode:
authorRiza Sulistyo <riza@teluu.com>2013-06-19 06:47:43 +0000
committerRiza Sulistyo <riza@teluu.com>2013-06-19 06:47:43 +0000
commitd7aa4332dae06ae890053dd13239ddabee46b86c (patch)
tree34c599b317369bcc33827d5ee1200604a6599164 /third_party/speex
parent7949b9e53b97281cfa4526ffe5cf7c7d887b7025 (diff)
Re #1680: Add initial support for Win64
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/speex')
-rw-r--r--third_party/speex/include/speex/speex.h2
-rw-r--r--third_party/speex/libspeex/stack_alloc.h2
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