Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a7d000e2
Commit
a7d000e2
authored
Apr 05, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmdevapi: Include system headers before Wine headers.
parent
7b36f665
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
10 deletions
+21
-10
devenum.c
dlls/mmdevapi/devenum.c
+9
-1
main.c
dlls/mmdevapi/main.c
+8
-0
mmdevapi.h
dlls/mmdevapi/mmdevapi.h
+4
-9
No files found.
dlls/mmdevapi/devenum.c
View file @
a7d000e2
...
...
@@ -16,11 +16,19 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define NONAMELESSUNION
#include "config.h"
#include <stdarg.h>
#ifdef HAVE_AL_AL_H
#include <AL/al.h>
#include <AL/alc.h>
#elif defined(HAVE_OPENAL_AL_H)
#include <OpenAL/al.h>
#include <OpenAL/alc.h>
#endif
#define NONAMELESSUNION
#define CINTERFACE
#define COBJMACROS
#include "windef.h"
...
...
dlls/mmdevapi/main.c
View file @
a7d000e2
...
...
@@ -21,6 +21,14 @@
#include <stdarg.h>
#ifdef HAVE_AL_AL_H
#include <AL/al.h>
#include <AL/alc.h>
#elif defined(HAVE_OPENAL_AL_H)
#include <OpenAL/al.h>
#include <OpenAL/alc.h>
#endif
#define CINTERFACE
#define COBJMACROS
#include "windef.h"
...
...
dlls/mmdevapi/mmdevapi.h
View file @
a7d000e2
...
...
@@ -16,6 +16,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_CONFIG_H
# error You must include config.h to use this header
#endif
extern
HRESULT
MMDevEnum_Create
(
REFIID
riid
,
void
**
ppv
);
extern
void
MMDevEnum_Free
(
void
);
...
...
@@ -37,15 +41,6 @@ typedef struct MMDevice {
#ifdef HAVE_OPENAL
#ifdef HAVE_AL_AL_H
#include <AL/al.h>
#include <AL/alc.h>
#elif defined(HAVE_OPENAL_AL_H)
#include <OpenAL/al.h>
#include <OpenAL/alc.h>
#else
#error No OpenAL headers found?
#endif
#include "alext.h"
/* All openal functions */
...
...
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