diff options
| author | Yevgen Muntyan <muntyan@tamu.edu> | 2007-06-07 02:47:52 +0000 |
|---|---|---|
| committer | Yevgen Muntyan <muntyan@src.gnome.org> | 2007-06-07 02:47:52 +0000 |
| commit | 00b12c72912c53aa541add7914a2c25784fb07e1 (patch) | |
| tree | 832df7979c1ef0b5c279f82ee7567af6fed3be3b /gobject | |
| parent | df46c5b7bc67e7c59df06ea53b5fee155226d5d7 (diff) | |
| download | pygobject-00b12c72912c53aa541add7914a2c25784fb07e1.tar.gz pygobject-00b12c72912c53aa541add7914a2c25784fb07e1.tar.xz pygobject-00b12c72912c53aa541add7914a2c25784fb07e1.zip | |
OK'd by Johan
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.
svn path=/trunk/; revision=674
Diffstat (limited to 'gobject')
| -rw-r--r-- | gobject/Makefile.am | 4 | ||||
| -rw-r--r-- | gobject/generate-constants.c | 1 |
2 files changed, 3 insertions, 2 deletions
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; } |
