Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Opus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Traud
Opus
Commits
1096fe5c
Commit
1096fe5c
authored
12 years ago
by
Gregory Maxwell
Committed by
Jean-Marc Valin
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused headers/defines in silk/typedef.h, improving portability to AMIX4.0/GCC1.4.
parent
936f52ca
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
silk/typedef.h
+2
-19
2 additions, 19 deletions
silk/typedef.h
with
2 additions
and
19 deletions
silk/typedef.h
+
2
−
19
View file @
1096fe5c
...
...
@@ -30,29 +30,12 @@ POSSIBILITY OF SUCH DAMAGE.
#include
"opus_types.h"
#ifndef silk_USE_DOUBLE_PRECISION_FLOATS
#define silk_USE_DOUBLE_PRECISION_FLOATS 0
#endif
#include
<float.h>
#if defined( __GNUC__ )
#include
<stdint.h>
#endif
#if silk_USE_DOUBLE_PRECISION_FLOATS
# define silk_float double
# define silk_float_MAX DBL_MAX
#else
#ifndef FIXED_POINT
# include <float.h>
# define silk_float float
# define silk_float_MAX FLT_MAX
#endif
#ifdef _WIN32
# define silk_STR_CASEINSENSITIVE_COMPARE(x, y) _stricmp(x, y)
#else
# define silk_STR_CASEINSENSITIVE_COMPARE(x, y) strcasecmp(x, y)
#endif
#define silk_int64_MAX ((opus_int64)0x7FFFFFFFFFFFFFFFLL)
/* 2^63 - 1 */
#define silk_int64_MIN ((opus_int64)0x8000000000000000LL)
/* -2^63 */
#define silk_int32_MAX 0x7FFFFFFF
/* 2^31 - 1 = 2147483647 */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment