public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* New contributor o/ hello, and small diff.
@ 2017-06-26 18:45 Dionna Amalie Glaze via newlib
  2017-06-26 19:41 ` Luca Barbato
  0 siblings, 1 reply; 7+ messages in thread
From: Dionna Amalie Glaze via newlib @ 2017-06-26 18:45 UTC (permalink / raw)
  To: newlib

Hi y'all! Thank you so much for your work on newlib. It's a fantastic
platform to work with :)

I am looking at getting access to the gethostname symbol in
sys/unistd.h outside of __CYGWIN__ or __rtems__. The following
platforms by C preprocessor symbol would be a helpful addition:
__USE_BSD, __USE_UNIX98, __USE_XOPEN2K

In diff form,
==== /home/dionnaglaze/newlib-cygwin/newlib/src/newlib/libc/include/sys/unistd.h
====
247c247,253
< #if !(defined  (_WINSOCK_H) || defined (_WINSOCKAPI_) || defined
(__USE_W32_SOCKETS))
---
> char *        _EXFUN(mktemp, (char *));
> #endif
>
> #if defined __USE_BSD || defined __USE_UNIX98 || defined __USE_XOPEN2K || \
>     ((defined(__CYGWIN__) || defined(__rtems__)) && \
>     !(defined  (_WINSOCK_H) || defined (_WINSOCKAPI_) || \
>       defined (__USE_W32_SOCKETS)))
250,251d255
< #endif
< char *        _EXFUN(mktemp, (char *));

What is y'all's preferred way to submit such a change?
Thanks!

-- 
-Dionna Glaze, PhD (she/her)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-06-29 16:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-26 18:45 New contributor o/ hello, and small diff Dionna Amalie Glaze via newlib
2017-06-26 19:41 ` Luca Barbato
2017-06-26 19:54   ` Dionna Amalie Glaze via newlib
2017-06-27 17:43     ` Yaakov Selkowitz
2017-06-27 18:10       ` Dionna Amalie Glaze via newlib
2017-06-29  6:39         ` Corinna Vinschen
2017-06-29 16:12           ` Dionna Amalie Glaze via newlib

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).