mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 03:02:10 +01:00
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:
parent
78fd20c910
commit
187c191219
@ -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>
|
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||||
|
@ -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>
|
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||||
|
@ -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>
|
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||||
|
@ -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>
|
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||||
|
@ -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>
|
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||||
|
@ -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>
|
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||||
|
@ -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>
|
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||||
|
@ -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>
|
Tue May 25 12:23:07 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
* gstrfuncs.c (g_strchug): Use g_memmove() not memmove().
|
||||||
|
@ -184,6 +184,10 @@ static gboolean poll_changed = FALSE;
|
|||||||
#endif /* G_THREADS_ENABLED */
|
#endif /* G_THREADS_ENABLED */
|
||||||
|
|
||||||
#ifdef HAVE_POLL
|
#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;
|
static GPollFunc poll_func = (GPollFunc) poll;
|
||||||
#else /* !HAVE_POLL */
|
#else /* !HAVE_POLL */
|
||||||
#ifdef NATIVE_WIN32
|
#ifdef NATIVE_WIN32
|
||||||
|
4
gmain.c
4
gmain.c
@ -184,6 +184,10 @@ static gboolean poll_changed = FALSE;
|
|||||||
#endif /* G_THREADS_ENABLED */
|
#endif /* G_THREADS_ENABLED */
|
||||||
|
|
||||||
#ifdef HAVE_POLL
|
#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;
|
static GPollFunc poll_func = (GPollFunc) poll;
|
||||||
#else /* !HAVE_POLL */
|
#else /* !HAVE_POLL */
|
||||||
#ifdef NATIVE_WIN32
|
#ifdef NATIVE_WIN32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user