Huw Davies : winecoreaudio: Remove system includes.

Alexandre Julliard julliard at winehq.org
Wed Nov 24 15:17:18 CST 2021


Module: wine
Branch: master
Commit: a73bc760a58350ec935d93becb962cb93173afcb
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=a73bc760a58350ec935d93becb962cb93173afcb

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Nov 24 11:26:51 2021 +0000

winecoreaudio: Remove system includes.

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winecoreaudio.drv/mmdevdrv.c | 32 --------------------------------
 1 file changed, 32 deletions(-)

diff --git a/dlls/winecoreaudio.drv/mmdevdrv.c b/dlls/winecoreaudio.drv/mmdevdrv.c
index 413e22d18ba..b4cf325c9d2 100644
--- a/dlls/winecoreaudio.drv/mmdevdrv.c
+++ b/dlls/winecoreaudio.drv/mmdevdrv.c
@@ -15,42 +15,10 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
-
-#define NONAMELESSUNION
 #define COBJMACROS
-#include "config.h"
-
-#define LoadResource __carbon_LoadResource
-#define CompareString __carbon_CompareString
-#define GetCurrentThread __carbon_GetCurrentThread
-#define GetCurrentProcess __carbon_GetCurrentProcess
 
 #include <stdarg.h>
 
-#include <errno.h>
-#include <limits.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/ioctl.h>
-#include <fcntl.h>
-#include <fenv.h>
-#include <unistd.h>
-
-#include <libkern/OSAtomic.h>
-#include <CoreAudio/CoreAudio.h>
-#include <AudioToolbox/AudioFormat.h>
-#include <AudioToolbox/AudioConverter.h>
-#include <AudioUnit/AudioUnit.h>
-
-#undef LoadResource
-#undef CompareString
-#undef GetCurrentThread
-#undef GetCurrentProcess
-#undef _CDECL
-
 #include "windef.h"
 #include "winbase.h"
 #include "winnls.h"




More information about the wine-cvs mailing list