Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ab8103e0
Commit
ab8103e0
authored
Nov 22, 2022
by
Brendan Shanks
Committed by
Alexandre Julliard
Dec 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Remove check for the HID Manager (always present on macOS).
parent
c8f9ee0b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
37 deletions
+4
-37
configure
configure
+0
-19
configure.ac
configure.ac
+0
-8
bus_iohid.c
dlls/winebus.sys/bus_iohid.c
+4
-4
config.h.in
include/config.h.in
+0
-6
No files found.
configure
View file @
ab8103e0
...
...
@@ -7862,12 +7862,6 @@ then :
printf
"%s
\n
"
"#define HAVE_IOKIT_IOKITLIB_H 1"
>>
confdefs.h
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"IOKit/hid/IOHIDLib.h"
"ac_cv_header_IOKit_hid_IOHIDLib_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_IOKit_hid_IOHIDLib_h
"
=
xyes
then
:
printf
"%s
\n
"
"#define HAVE_IOKIT_HID_IOHIDLIB_H 1"
>>
confdefs.h
fi
ac_fn_c_check_header_compile
"
$LINENO
"
"OpenCL/opencl.h"
"ac_cv_header_OpenCL_opencl_h"
"
$ac_includes_default
"
if
test
"x
$ac_cv_header_OpenCL_opencl_h
"
=
xyes
then
:
...
...
@@ -9946,19 +9940,6 @@ fi
ac_cv_lib_OpenCL_clGetPlatformInfo
=
yes
fi
if
test
"
$ac_cv_header_IOKit_hid_IOHIDLib_h
"
=
"yes"
then
ac_save_LIBS
=
"
$LIBS
"
LIBS
=
"
$LIBS
$IOKIT_LIBS
"
ac_fn_c_check_func
"
$LINENO
"
"IOHIDManagerCreate"
"ac_cv_func_IOHIDManagerCreate"
if
test
"x
$ac_cv_func_IOHIDManagerCreate
"
=
xyes
then
:
printf
"%s
\n
"
"#define HAVE_IOHIDMANAGERCREATE 1"
>>
confdefs.h
fi
LIBS
=
"
$ac_save_LIBS
"
fi
if
test
"
$ac_cv_header_Metal_Metal_h
"
=
"yes"
then
...
...
configure.ac
View file @
ab8103e0
...
...
@@ -409,7 +409,6 @@ AC_CHECK_HEADERS(\
CL/cl.h \
EGL/egl.h \
IOKit/IOKitLib.h \
IOKit/hid/IOHIDLib.h \
OpenCL/opencl.h \
Security/Security.h \
SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
...
...
@@ -724,13 +723,6 @@ case $host_os in
AC_SUBST(OPENCL_LIBS,"-framework OpenCL")
ac_cv_lib_OpenCL_clGetPlatformInfo=yes
fi
if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
then
ac_save_LIBS="$LIBS"
LIBS="$LIBS $IOKIT_LIBS"
AC_CHECK_FUNCS(IOHIDManagerCreate)
LIBS="$ac_save_LIBS"
fi
if test "$ac_cv_header_Metal_Metal_h" = "yes"
then
...
...
dlls/winebus.sys/bus_iohid.c
View file @
ab8103e0
...
...
@@ -26,7 +26,7 @@
#include <stdarg.h>
#include <sys/types.h>
#if
defined(HAVE_IOKIT_HID_IOHIDLIB_H)
#if
def __APPLE__
#define DWORD UInt32
#define LPDWORD UInt32*
#define LONG SInt32
...
...
@@ -81,7 +81,7 @@
#undef LPLONG
#undef E_PENDING
#undef PAGE_SHIFT
#endif
/*
HAVE_IOKIT_HID_IOHIDLIB_H
*/
#endif
/*
__APPLE__
*/
#include <pthread.h>
...
...
@@ -98,7 +98,7 @@
#include "unix_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
hid
);
#ifdef
HAVE_IOHIDMANAGERCREATE
#ifdef
__APPLE__
static
pthread_mutex_t
iohid_cs
=
PTHREAD_MUTEX_INITIALIZER
;
...
...
@@ -441,4 +441,4 @@ NTSTATUS iohid_bus_stop(void *args)
return
STATUS_NOT_IMPLEMENTED
;
}
#endif
/*
HAVE_IOHIDMANAGERCREATE
*/
#endif
/*
__APPLE__
*/
include/config.h.in
View file @
ab8103e0
...
...
@@ -111,12 +111,6 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the `IOHIDManagerCreate' function. */
#undef HAVE_IOHIDMANAGERCREATE
/* Define to 1 if you have the <IOKit/hid/IOHIDLib.h> header file. */
#undef HAVE_IOKIT_HID_IOHIDLIB_H
/* Define to 1 if you have the <IOKit/IOKitLib.h> header file. */
#undef HAVE_IOKIT_IOKITLIB_H
...
...
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