provide a poll() prototype for SunOS, as it doesn't provide one itself.

1999-05-26  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

	* gmain.c: provide a poll() prototype for SunOS, as it doesn't
	provide one itself. Reported by Christian Parg
	<cparg@fs-design.de>.
This commit is contained in:
Sebastian Wilhelmi 1999-05-26 12:12:21 +00:00 committed by Sebastian Wilhelmi
parent 78fd20c910
commit 187c191219
10 changed files with 48 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-05-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c: provide a poll prototype for SunOS, as they do not do
it self. Hint from Christian Parg <cparg@fs-design.de>.
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().

View File

@ -1,3 +1,8 @@
1999-05-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c: provide a poll prototype for SunOS, as they do not do
it self. Hint from Christian Parg <cparg@fs-design.de>.
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().

View File

@ -1,3 +1,8 @@
1999-05-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c: provide a poll prototype for SunOS, as they do not do
it self. Hint from Christian Parg <cparg@fs-design.de>.
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().

View File

@ -1,3 +1,8 @@
1999-05-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c: provide a poll prototype for SunOS, as they do not do
it self. Hint from Christian Parg <cparg@fs-design.de>.
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().

View File

@ -1,3 +1,8 @@
1999-05-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c: provide a poll prototype for SunOS, as they do not do
it self. Hint from Christian Parg <cparg@fs-design.de>.
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().

View File

@ -1,3 +1,8 @@
1999-05-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c: provide a poll prototype for SunOS, as they do not do
it self. Hint from Christian Parg <cparg@fs-design.de>.
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().

View File

@ -1,3 +1,8 @@
1999-05-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c: provide a poll prototype for SunOS, as they do not do
it self. Hint from Christian Parg <cparg@fs-design.de>.
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().

View File

@ -1,3 +1,8 @@
1999-05-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gmain.c: provide a poll prototype for SunOS, as they do not do
it self. Hint from Christian Parg <cparg@fs-design.de>.
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().

View File

@ -184,6 +184,10 @@ static gboolean poll_changed = FALSE;
#endif /* G_THREADS_ENABLED */
#ifdef HAVE_POLL
/* SunOS has poll, but doesn't provide a prototype. */
# if defined (sun) && !defined (__SVR4)
extern gint poll (GPollFD *ufds, guint nfsd, gint timeout);
# endif /* !sun */
static GPollFunc poll_func = (GPollFunc) poll;
#else /* !HAVE_POLL */
#ifdef NATIVE_WIN32

View File

@ -184,6 +184,10 @@ static gboolean poll_changed = FALSE;
#endif /* G_THREADS_ENABLED */
#ifdef HAVE_POLL
/* SunOS has poll, but doesn't provide a prototype. */
# if defined (sun) && !defined (__SVR4)
extern gint poll (GPollFD *ufds, guint nfsd, gint timeout);
# endif /* !sun */
static GPollFunc poll_func = (GPollFunc) poll;
#else /* !HAVE_POLL */
#ifdef NATIVE_WIN32