diff options
Diffstat (limited to 'UnixPkg/UnixSerialIoDxe/UnixSerialIo.c')
-rw-r--r-- | UnixPkg/UnixSerialIoDxe/UnixSerialIo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/UnixPkg/UnixSerialIoDxe/UnixSerialIo.c b/UnixPkg/UnixSerialIoDxe/UnixSerialIo.c index 0f3ac51f55..b197ae624a 100644 --- a/UnixPkg/UnixSerialIoDxe/UnixSerialIo.c +++ b/UnixPkg/UnixSerialIoDxe/UnixSerialIo.c @@ -108,7 +108,8 @@ ConvertBaud2Unix ( {
switch (BaudRate) {
case 0:
- return B0;
+ return 0; // Don't use B0 as it is also used in EFI #includes as a name so termios.h #define
+ // can break the build.
case 50:
return B50;
case 75:
|