Make PLT-reduction work with gcc4, and don't include everything in

2005-03-13  Matthias Clasen  <mclasen@redhat.com>

	Make PLT-reduction work with gcc4, and don't include
	everything in galias.h:

	* glib/glib.symbols: Group symbols by header and source file.
	* glib/makegalias.pl: Protect definitions by the same
	preprocessor symbols used to guard the headers. Move
	the alias declarations to a separate file which is
	produced when calling makegalias.pl -def
	* glib/Makefile.am (galiasdef.c): Add a rule to generate this
	file.
	* glib/*.c: Include galias.h after the other GLib headers,
	include galiasdef.c at the bottom.
This commit is contained in:
Matthias Clasen
2005-03-14 04:26:57 +00:00
committed by Matthias Clasen
parent 96913f7a50
commit 608a31b98e
59 changed files with 951 additions and 448 deletions

View File

@@ -31,7 +31,6 @@
#include "config.h"
#include "galias.h"
#include "glibconfig.h"
#include <stdlib.h>
@@ -53,6 +52,7 @@
#endif /* _MSC_VER */
#include "glib.h"
#include "galias.h"
#ifdef G_WITH_CYGWIN
#include <sys/cygwin.h>
@@ -1466,3 +1466,6 @@ g_win32_get_windows_version (void)
return windows_version;
}
#define __G_WIN32_C__
#include "galiasdef.c"