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
a5512382
Commit
a5512382
authored
Jan 24, 1999
by
Geoff Clare
Committed by
Alexandre Julliard
Jan 24, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The B57600 and B115200 symbols are not defined in Unixware.
parent
762f18d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
comm.c
misc/comm.c
+8
-0
No files found.
misc/comm.c
View file @
a5512382
...
...
@@ -1048,12 +1048,16 @@ INT16 WINAPI SetCommState16(LPDCB16 lpdcb)
case
CBR_38400
:
port
.
c_cflag
|=
B38400
;
break
;
#ifdef B57600
case
57600
:
port
.
c_cflag
|=
B57600
;
break
;
#endif
#ifdef B115200
case
57601
:
port
.
c_cflag
|=
B115200
;
break
;
#endif
default:
commerror
=
IE_BAUDRATE
;
return
-
1
;
...
...
@@ -1436,12 +1440,16 @@ INT16 WINAPI GetCommState16(INT16 fd, LPDCB16 lpdcb)
case
B38400
:
lpdcb
->
BaudRate
=
38400
;
break
;
#ifdef B57600
case
B57600
:
lpdcb
->
BaudRate
=
57600
;
break
;
#endif
#ifdef B115200
case
B115200
:
lpdcb
->
BaudRate
=
57601
;
break
;
#endif
}
#endif
switch
(
port
.
c_cflag
&
CSIZE
)
{
...
...
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