public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Gaius Mulley <gaius@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/gaius/heads/devel/modula-2)] Bugfix modula2/101392 correct preprocessor defined guard. Date: Sun, 15 Aug 2021 15:05:53 +0000 (GMT) [thread overview] Message-ID: <20210815150553.B075F385801E@sourceware.org> (raw) https://gcc.gnu.org/g:69f1a0830ff2bab744ae738e95de199f36ec9b54 commit 69f1a0830ff2bab744ae738e95de199f36ec9b54 Author: Gaius Mulley <gaius.mulley@southwales.ac.uk> Date: Sun Aug 15 16:01:52 2021 +0100 Bugfix modula2/101392 correct preprocessor defined guard. 2021-08-15 Gaius Mulley <gaius.mulley@southwales.ac.uk> gcc/m2/ChangeLog: * m2-boot-ch/Gtermios.c (GetFlag): Correct guard using defined(__MAX_BAUD). (SetFlag): Correct guard using defined(__MAX_BAUD). Signed-off-by: Gaius Mulley <gaius.mulley@southwales.ac.uk> Diff: --- gcc/m2/mc-boot-ch/Gtermios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/m2/mc-boot-ch/Gtermios.c b/gcc/m2/mc-boot-ch/Gtermios.c index 1a16b5ae544..708bc30de4f 100644 --- a/gcc/m2/mc-boot-ch/Gtermios.c +++ b/gcc/m2/mc-boot-ch/Gtermios.c @@ -868,7 +868,7 @@ int EXPORT (GetFlag) (struct termios *t, Flag f, int *b) return 0; #endif case maxbaud: -#if defined(MAX) +#if defined(__MAX_BAUD) *b = ((t->c_cflag & __MAX_BAUD) == __MAX_BAUD); return 1; #else
reply other threads:[~2021-08-15 15:05 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210815150553.B075F385801E@sourceware.org \ --to=gaius@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).