Fixed missing prototypes and made it work with Solaris X11.

This commit is contained in:
Patrik Stridvall 1999-07-31 14:38:31 +00:00 committed by Alexandre Julliard
parent 478eee17be
commit 109767a6f5
8 changed files with 21 additions and 1 deletions

View File

@ -107,7 +107,9 @@ END
$pre_file
$x11_incl#include <X11/$extensions_dir$name.h>
#include "debugtools.h"
#include "ts_$lcname.h"
#include "x11drv.h"
DEFAULT_DEBUG_CHANNEL(x11)
@ -266,7 +268,11 @@ END
"a0,a1,a2,a3"
);
} else {
open(IN, "echo \"$x11_incl#include <X11/$extensions_dir$name.h>\" | gcc -L$X11_include_dir -E - | grep -v '^[ \t]*\$'|") || die "open";
open(IN,
"echo \"$x11_incl#include <X11/$extensions_dir$name.h>\" | " .
"gcc -L$X11_include_dir -DNeedFunctionPrototypes -E - | " .
"grep -v '^[ \t]*\$)' |"
) || die "open";
PROTO: while(<IN>) {
if(m'extern\s+([^()]*)\b([a-zA-Z0-9_]+)\s*\(') {

View File

@ -12,7 +12,9 @@
#include <X11/Xlib.h>
#include <X11/extensions/xf86dga.h>
#include "debugtools.h"
#include "ts_xf86dga.h"
#include "x11drv.h"
DEFAULT_DEBUG_CHANNEL(x11)

View File

@ -15,7 +15,9 @@
#include <X11/Xlib.h>
#include <X11/extensions/xf86vmode.h>
#include "debugtools.h"
#include "ts_xf86vmode.h"
#include "x11drv.h"
DEFAULT_DEBUG_CHANNEL(x11)

View File

@ -10,7 +10,9 @@
#include <X11/Xlib.h>
#include "debugtools.h"
#include "ts_xlib.h"
#include "x11drv.h"
DEFAULT_DEBUG_CHANNEL(x11)

View File

@ -11,7 +11,9 @@
#ifdef HAVE_LIBXXPM
#include <X11/xpm.h>
#include "debugtools.h"
#include "ts_xpm.h"
#include "x11drv.h"
DEFAULT_DEBUG_CHANNEL(x11)

View File

@ -11,7 +11,9 @@
#include <X11/Xlib.h>
#include <X11/Xresource.h>
#include "debugtools.h"
#include "ts_xresource.h"
#include "x11drv.h"
DEFAULT_DEBUG_CHANNEL(x11)

View File

@ -12,7 +12,9 @@
#include <X11/Xlib.h>
#include <X11/extensions/XShm.h>
#include "debugtools.h"
#include "ts_xshm.h"
#include "x11drv.h"
DEFAULT_DEBUG_CHANNEL(x11)

View File

@ -12,7 +12,9 @@
#include <X11/Xlib.h>
#include <X11/Xresource.h>
#include <X11/Xutil.h>
#include "debugtools.h"
#include "ts_xutil.h"
#include "x11drv.h"
DEFAULT_DEBUG_CHANNEL(x11)