Commit 86131d5d authored by Nalin Dahyabhai's avatar Nalin Dahyabhai

define _XOPEN_SOURCE_EXTENDED, _XOPEN_SOURCE, and __EXTENSIONS__ to get

* configure.in: define _XOPEN_SOURCE_EXTENDED, _XOPEN_SOURCE, and
	__EXTENSIONS__ to get definitions for msg_control and msg_controllen
	on Solaris (#112036).
* src/vtedraw.c(_vte_draw_set_scroll): don't try to return a value from this
	void function (#112036).  Patch from Hidetoshi Tajima.
* src/xticker.c: don't include getopt.h, which isn't even needed for regular
	getopt() (#112036).  Patch from Hidetoshi Tajima.
parent 0e8b4474
2003-05-02 nalin
* configure.in: define _XOPEN_SOURCE_EXTENDED, _XOPEN_SOURCE, and
__EXTENSIONS__ to get definitions for msg_control and msg_controllen
on Solaris (#112036).
* src/vtedraw.c(_vte_draw_set_scroll): don't try to return a value from
this void function (#112036). Patch from Hidetoshi Tajima.
* src/xticker.c: don't include getopt.h, which isn't even needed for
regular getopt() (#112036). Patch from Hidetoshi Tajima.
2003-05-01 nalin
* src/vtebg.c(vte_bg_set_root_pixmap,vte_bg_root_pixmap): remove some
debugging g_print() calls.
......
......@@ -188,7 +188,7 @@ AC_CHECK_DECLS(FT_PIXEL_MODE_LCD,,,[
CFLAGS="$savecflags"
CPPFLAGS="$savecppflags"
# Use all available featurs under glibc, and disable accidental use of
# Use all available features under glibc, and disable accidental use of
# deprecated functionality.
AC_EGREP_CPP(glibc,
[
......@@ -197,7 +197,10 @@ AC_EGREP_CPP(glibc,
glibc
#endif
],
AC_DEFINE(_GNU_SOURCE,1,[Use all features.]))
AC_DEFINE(_GNU_SOURCE,1,[Use all glibc features.]))
AC_DEFINE(_XOPEN_SOURCE_EXTENDED,1,[Needed to get declarations for msg_control and msg_controllen on Solaris])
AC_DEFINE(_XOPEN_SOURCE,1,[Needed to get declarations for msg_control and msg_controllen on Solaris])
AC_DEFINE(__EXTENSIONS__,1,[Needed to get declarations for msg_control and msg_controllen on Solaris])
AC_DEFINE(G_DISABLE_DEPRECATED,1,[Disable deprecated GLib features.])
AC_DEFINE(GDK_DISABLE_DEPRECATED,1,[Disable deprecated GDK features.])
......
......@@ -273,5 +273,5 @@ _vte_draw_set_scroll(struct _vte_draw *draw, gint x, gint y)
{
g_return_if_fail(draw->impl != NULL);
g_return_if_fail(draw->impl->set_scroll != NULL);
return draw->impl->set_scroll(draw, x, y);
draw->impl->set_scroll(draw, x, y);
}
......@@ -22,7 +22,6 @@
#include <sys/time.h>
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment