Applied patch for Darwin build fix
Kartik Thakore [Sun, 2 Aug 2009 11:55:53 +0000 (07:55 -0400)]
make/lib/SDL/Build/Darwin.pm

index b237cb9..7f2898f 100644 (file)
@@ -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;