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
f0ca586f
Commit
f0ca586f
authored
Nov 05, 2006
by
Phil Krylov
Committed by
Alexandre Julliard
Nov 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
explorer: Build on Darwin versions prior to 8.0.
parent
b81b44f6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
configure
configure
+0
-0
configure.ac
configure.ac
+5
-1
diskarb.c
programs/explorer/diskarb.c
+4
-4
No files found.
configure
View file @
f0ca586f
This diff is collapsed.
Click to expand it.
configure.ac
View file @
f0ca586f
...
@@ -1016,8 +1016,12 @@ case $host_os in
...
@@ -1016,8 +1016,12 @@ case $host_os in
dnl declare needed frameworks
dnl declare needed frameworks
AC_SUBST(COREFOUNDATIONLIB,"-framework CoreFoundation")
AC_SUBST(COREFOUNDATIONLIB,"-framework CoreFoundation")
AC_SUBST(IOKITLIB,"-framework IOKit -framework CoreFoundation")
AC_SUBST(IOKITLIB,"-framework IOKit -framework CoreFoundation")
AC_SUBST(DISKARBITRATIONLIB,"-framework DiskArbitration -framework CoreFoundation")
AC_SUBST(LDEXECFLAGS,["-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"])
AC_SUBST(LDEXECFLAGS,["-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"])
if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
then
dnl DiskArbitration API is not public on Darwin < 8.0, use it only if header found
AC_SUBST(DISKARBITRATIONLIB,"-framework DiskArbitration -framework CoreFoundation")
fi
if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
then
then
dnl CoreServices needed by AudioUnit
dnl CoreServices needed by AudioUnit
...
...
programs/explorer/diskarb.c
View file @
f0ca586f
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
explorer
);
WINE_DEFAULT_DEBUG_CHANNEL
(
explorer
);
#ifdef
__APPLE__
#ifdef
HAVE_DISKARBITRATION_DISKARBITRATION_H
#include <DiskArbitration/DiskArbitration.h>
#include <DiskArbitration/DiskArbitration.h>
...
@@ -133,11 +133,11 @@ void initialize_diskarbitration(void)
...
@@ -133,11 +133,11 @@ void initialize_diskarbitration(void)
CloseHandle
(
handle
);
CloseHandle
(
handle
);
}
}
#else
/*
__APPLE__
*/
#else
/*
HAVE_DISKARBITRATION_DISKARBITRATION_H
*/
void
initialize_diskarbitration
(
void
)
void
initialize_diskarbitration
(
void
)
{
{
WINE_TRACE
(
"Skipping
on non-Apple platform
\n
"
);
WINE_TRACE
(
"Skipping
, Disk Arbitration support not compiled in
\n
"
);
}
}
#endif
/*
__APPLE__
*/
#endif
/*
HAVE_DISKARBITRATION_DISKARBITRATION_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