From: Kartik Thakore Date: Sun, 2 Aug 2009 11:55:53 +0000 (-0400) Subject: Applied patch for Darwin build fix X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=865365f67e34cc9796df04df81683befd7d1131e;p=sdlgit%2FSDL_perl.git Applied patch for Darwin build fix --- diff --git a/make/lib/SDL/Build/Darwin.pm b/make/lib/SDL/Build/Darwin.pm index b237cb9..7f2898f 100644 --- a/make/lib/SDL/Build/Darwin.pm +++ b/make/lib/SDL/Build/Darwin.pm @@ -32,4 +32,13 @@ sub fetch_includes ); } +sub build_defines +{ + my $self = shift; + my $defines = $self->SUPER::build_defines(@_); + + push @{$defines->{SDL}}, "-Ddarwin", "-DMACOSX"; + + return $defines; +} 1;