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
0f6c0394
Commit
0f6c0394
authored
Jul 01, 2005
by
Phil Krylov
Committed by
Alexandre Julliard
Jul 01, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed dlls/ntdll/cdrom.c compilation in Darwin by adding HAVE_IOKit
detection to configure and defining SENSEBUFLEN as kSenseDefaultSize (which is corresponding IOKit enum value).
parent
31506e30
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
0 deletions
+14
-0
configure
configure
+2
-0
configure.ac
configure.ac
+1
-0
cdrom.c
dlls/ntdll/cdrom.c
+8
-0
config.h.in
include/config.h.in
+3
-0
No files found.
configure
View file @
0f6c0394
...
...
@@ -7110,7 +7110,9 @@ done
for
ac_header
in
\
IOKit/IOKitLib.h
\
arpa/inet.h
\
arpa/nameser.h
\
asm/types.h
\
...
...
configure.ac
View file @
0f6c0394
...
...
@@ -171,6 +171,7 @@ OPENGL_LIBS=""
dnl **** Check for header files ****
AC_CHECK_HEADERS(\
IOKit/IOKitLib.h \
arpa/inet.h \
arpa/nameser.h \
asm/types.h \
...
...
dlls/ntdll/cdrom.c
View file @
0f6c0394
...
...
@@ -75,6 +75,14 @@
# include <sys/scsiio.h>
#endif
#ifdef HAVE_IOKIT_IOKITLIB_H
# ifndef SENSEBUFLEN
# include <IOKit/IOKitLib.h>
# include <IOKit/scsi/SCSICmds_REQUEST_SENSE_Defs.h>
# define SENSEBUFLEN kSenseDefaultSize
# endif
#endif
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "ntstatus.h"
...
...
include/config.h.in
View file @
0f6c0394
...
...
@@ -224,6 +224,9 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the <IOKit/IOKitLib.h> header file. */
#undef HAVE_IOKIT_IOKITLIB_H
/* Define to 1 if you have the <io.h> header file. */
#undef HAVE_IO_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