From: Kartik Thakore Date: Wed, 11 Nov 2009 19:28:05 +0000 (-0500) Subject: all .h files parsed now... Split breaks here look at MUSTLOCK X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=63dc127c2f671aae00bd30fe4961b7d57003f994;p=sdlgit%2FSDL_perl.git all .h files parsed now... Split breaks here look at MUSTLOCK --- diff --git a/scripts/auto_constants.pl b/scripts/auto_constants.pl index 84dd2e9..ce3418c 100644 --- a/scripts/auto_constants.pl +++ b/scripts/auto_constants.pl @@ -8,12 +8,12 @@ my $head_loc = `sdl-config --cflags`; print "# Getting header constants from $head_loc\n"; -my @header = qw/ SDL.h SDL_events.h /; +my @header = <$head_loc/*>; foreach (@header) { print "# from $_:\n"; - open FH, "$head_loc/$_"; + open FH, $_; while() { if($_ =~ /#define SDL_/)