Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
miniaudio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
miniaudio
Commits
de71ffdc
Commit
de71ffdc
authored
Mar 14, 2020
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a compilation error on VC6.
parent
ca5e363d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
.gitignore
.gitignore
+2
-0
extras/speex_resampler/ma_speex_resampler.h
extras/speex_resampler/ma_speex_resampler.h
+10
-5
No files found.
.gitignore
View file @
de71ffdc
_private/
_private/
examples/build/vc6/
examples/build/vc15/
examples/build/vc15/
examples/build/bin/
examples/build/bin/
tests/_build/bin/
tests/_build/bin/
tests/_build/res/output/
tests/_build/res/output/
tests/_build/tcc/
tests/_build/tcc/
tests/_build/vc6/
tests/_build/vc15/
tests/_build/vc15/
tools/_build/
tools/_build/
*.vcxproj.user
*.vcxproj.user
...
...
extras/speex_resampler/ma_speex_resampler.h
View file @
de71ffdc
...
@@ -30,13 +30,18 @@ int ma_speex_resampler_get_expected_output_frame_count(SpeexResamplerState* st,
...
@@ -30,13 +30,18 @@ int ma_speex_resampler_get_expected_output_frame_count(SpeexResamplerState* st,
#if defined(MINIAUDIO_SPEEX_RESAMPLER_IMPLEMENTATION)
#if defined(MINIAUDIO_SPEEX_RESAMPLER_IMPLEMENTATION)
/* The Speex resampler uses "inline", which is not defined for C89. We need to define it here. */
/* The Speex resampler uses "inline", which is not defined for C89. We need to define it here. */
#if defined(__GNUC__) && !defined(_MSC_VER)
#if !defined(__cplusplus)
#if defined(__STRICT_ANSI__)
#if defined(__GNUC__) && !defined(_MSC_VER)
#if !defined(inline)
#if defined(__STRICT_ANSI__)
#define inline __inline__ __attribute__((always_inline))
#if !defined(inline)
#define MA_SPEEX_INLINE_DEFINED
#define inline __inline__ __attribute__((always_inline))
#define MA_SPEEX_INLINE_DEFINED
#endif
#endif
#endif
#endif
#endif
#if defined(_MSC_VER) && _MSC_VER <= 1200
/* 1200 = Visual Studio 6 */
#define inline _inline
#endif
#endif
#endif
#if defined(_MSC_VER) && !defined(__clang__)
#if defined(_MSC_VER) && !defined(__clang__)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment