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
e4bc09f7
Commit
e4bc09f7
authored
Jun 06, 2017
by
David Reid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the non-Win32 build.
parent
c67f74ed
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
mini_al.h
mini_al.h
+18
-0
No files found.
mini_al.h
View file @
e4bc09f7
...
...
@@ -178,6 +178,7 @@ extern "C" {
#else
#define MAL_POSIX
#include <pthread.h> // Unfortunate #include, but needed for pthread_t, pthread_mutex_t and pthread_cond_t types.
#include <wchar.h> // For the wchar_t type in mal_device_id.
#ifdef __linux__
#define MAL_LINUX
...
...
@@ -5404,6 +5405,18 @@ mal_result mal_context_init_backend_apis__win32(mal_context* pContext)
return
MAL_SUCCESS
;
}
#else
mal_result
mal_context_uninit_backend_apis__nix
(
mal_context
*
pContext
)
{
(
void
)
pContext
;
return
MAL_SUCCESS
;
}
mal_result
mal_context_init_backend_apis__nix
(
mal_context
*
pContext
)
{
(
void
)
pContext
;
return
MAL_SUCCESS
;
}
#endif
mal_result
mal_context_init_backend_apis
(
mal_context
*
pContext
)
...
...
@@ -5411,8 +5424,11 @@ mal_result mal_context_init_backend_apis(mal_context* pContext)
mal_result
result
=
MAL_NO_BACKEND
;
#ifdef MAL_WIN32
result
=
mal_context_init_backend_apis__win32
(
pContext
);
#else
result
=
mal_context_init_backend_apis__nix
(
pContext
);
#endif
return
result
;
}
...
...
@@ -5421,6 +5437,8 @@ mal_result mal_context_uninit_backend_apis(mal_context* pContext)
mal_result
result
=
MAL_NO_BACKEND
;
#ifdef MAL_WIN32
result
=
mal_context_uninit_backend_apis__win32
(
pContext
);
#else
result
=
mal_context_uninit_backend_apis__nix
(
pContext
);
#endif
return
result
;
...
...
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