Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
8121e941
Commit
8121e941
authored
23 years ago
by
Bang Jun-Young
Committed by
Alexandre Julliard
23 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix NetBSD compile errors; CDIOCREADAUDIO is not available on NetBSD.
parent
ea881d25
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/ntdll/cdrom.c
+17
-4
17 additions, 4 deletions
dlls/ntdll/cdrom.c
with
17 additions
and
4 deletions
dlls/ntdll/cdrom.c
+
17
−
4
View file @
8121e941
...
...
@@ -765,9 +765,7 @@ static DWORD CDROM_RawRead(int dev, const RAW_READ_INFO* raw, void* buffer, DWOR
break
;
}
}
*
sz
=
sectSize
*
raw
->
SectorCount
;
ret
=
CDROM_GetStatusCode
(
io
);
#elif defined(__FreeBSD__) || defined(__NetBSD__)
#elif defined(__FreeBSD__)
{
struct
ioc_read_audio
ira
;
...
...
@@ -791,9 +789,24 @@ static DWORD CDROM_RawRead(int dev, const RAW_READ_INFO* raw, void* buffer, DWOR
break
;
}
}
#elif defined(__NetBSD__)
{
switch
(
raw
->
TrackMode
)
{
case
YellowMode2
:
FIXME
(
"YellowMode2: NIY
\n
"
);
return
ret
;
case
XAForm2
:
FIXME
(
"XAForm2: NIY
\n
"
);
return
ret
;
case
CDDA
:
FIXME
(
"CDDA: NIY
\n
"
);
return
ret
;
}
}
#endif
*
sz
=
sectSize
*
raw
->
SectorCount
;
ret
=
CDROM_GetStatusCode
(
io
);
#endif
return
ret
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment