public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] libc/include/newlib.h: Fix C++ compilation issue
@ 2020-11-16 14:15 Joel Sherrill
0 siblings, 0 replies; only message in thread
From: Joel Sherrill @ 2020-11-16 14:15 UTC (permalink / raw)
To: newlib-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=302b82afee423fcb5a447a222e2b771ef9c06ee0
commit 302b82afee423fcb5a447a222e2b771ef9c06ee0
Author: Joel Sherrill <joel@rtems.org>
Date: Mon Nov 9 15:33:02 2020 -0600
libc/include/newlib.h: Fix C++ compilation issue
Diff:
---
newlib/libc/include/devctl.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/newlib/libc/include/devctl.h b/newlib/libc/include/devctl.h
index 889693e1d..46305cf05 100644
--- a/newlib/libc/include/devctl.h
+++ b/newlib/libc/include/devctl.h
@@ -69,10 +69,10 @@ int posix_devctl(
size_t nbyte,
int *__restrict dev_info_ptr
);
-#endif
#ifdef __cplusplus
}
#endif
-#endif
+#endif /* _POSIX_26_C_SOURCE */
+#endif /*_POSIX_DEVCTL_h_ */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-16 14:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-16 14:15 [newlib-cygwin] libc/include/newlib.h: Fix C++ compilation issue Joel Sherrill
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).