projects
/
sdlgit/SDL_perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
76272a9
)
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
patch
|
blob
|
blame
|
history
diff --git
a/make/lib/SDL/Build/Darwin.pm
b/make/lib/SDL/Build/Darwin.pm
index
b237cb9
..
7f2898f
100644
(file)
--- 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;