OSDN Git Service
(root)
/
timidity41
/
timidity41.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96b3e39
)
Fix speex configuration
author
Starg
<starg@users.osdn.me>
Tue, 20 Mar 2018 08:13:25 +0000
(17:13 +0900)
committer
Starg
<starg@users.osdn.me>
Tue, 20 Mar 2018 08:13:25 +0000
(17:13 +0900)
speex/config.h
patch
|
blob
|
history
speex/speex.h
patch
|
blob
|
history
diff --git
a/speex/config.h
b/speex/config.h
index
abd35f0
..
f50aeb4
100644
(file)
--- a/
speex/config.h
+++ b/
speex/config.h
@@
-6,6
+6,7
@@
// SSE is enabled.
#ifndef _USE_SSE
# define USE_ALLOCA
+# define alloca _alloca
#endif
/* Default to floating point */
diff --git
a/speex/speex.h
b/speex/speex.h
index
82ba016
..
968b2f1
100644
(file)
--- a/
speex/speex.h
+++ b/
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
+#ifndef
_
WIN32
/* 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