diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | gobject/Makefile.am | 4 | ||||
-rw-r--r-- | gobject/generate-constants.c | 1 |
3 files changed, 12 insertions, 2 deletions
@@ -1,3 +1,12 @@ +2007-06-06 Yevgen Muntyan <muntyan@tamu.edu> + + OK'd by Johan + + * gobject/generate-constants.c: Return 0 from main(). + + * gobject/Makefile.am: use generate-constants$(EXEEXT) instead + of generate-constants in the constants.py target rule. + 2007-05-30 Yevgen Muntyan <muntyan@tamu.edu> reviewed by: Gustavo Carneiro diff --git a/gobject/Makefile.am b/gobject/Makefile.am index dcc6b25..57a961b 100644 --- a/gobject/Makefile.am +++ b/gobject/Makefile.am @@ -21,11 +21,11 @@ if PLATFORM_WIN32 common_ldflags += -no-undefined endif -constants.py: generate-constants constants.py.in +constants.py: generate-constants$(EXEEXT) constants.py.in rm -f constants.py cp $(srcdir)/constants.py.in constants.py chmod 644 constants.py - $(top_builddir)/gobject/generate-constants >> constants.py + $(top_builddir)/gobject/generate-constants$(EXEEXT) >> constants.py chmod 444 constants.py generate_constants_CFLAGS = $(GLIB_CFLAGS) diff --git a/gobject/generate-constants.c b/gobject/generate-constants.c index ed66a07..2a6e4d2 100644 --- a/gobject/generate-constants.c +++ b/gobject/generate-constants.c @@ -18,4 +18,5 @@ int main(void) printf("G_MINLONG = %ldL\n", G_MINLONG); printf("G_MAXLONG = %ldL\n", G_MAXLONG); printf("G_MAXULONG = %luL\n", G_MAXULONG); + return 0; } |