Fix build with libc++ 3.8.0 by removing conflicting re-definition of abs().
PR: 209612 Submitted by: dim
This commit is contained in:
parent
d8a8e3e66a
commit
05d922f344
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415575
10
games/trackballs/files/patch-src_glHelp.cc
Normal file
10
games/trackballs/files/patch-src_glHelp.cc
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/glHelp.cc.orig 2007-04-07 13:15:09 UTC
|
||||
+++ src/glHelp.cc
|
||||
@@ -129,7 +129,6 @@ void drawSurface(SDL_Surface *surface,in
|
||||
// why is this removed? should it not be done???
|
||||
glDeleteTextures(1,&texture);
|
||||
}
|
||||
-inline Real abs(Real v) {return v>0.0?v:-v;}
|
||||
double mousePointerPhase=0.0;
|
||||
|
||||
void tickMouse(Real td) {
|
10
games/trackballs/files/patch-src_menuMode.cc
Normal file
10
games/trackballs/files/patch-src_menuMode.cc
Normal file
@ -0,0 +1,10 @@
|
||||
--- src/menuMode.cc.orig 2007-04-07 13:16:26 UTC
|
||||
+++ src/menuMode.cc
|
||||
@@ -163,7 +163,6 @@ void MenuMode::doSelection() {
|
||||
case MENU_EDITOR: GameMode::activate(EditMode::editMode); break;
|
||||
}
|
||||
}
|
||||
-inline Real abs(Real v) {return v>0.0?v:-v;}
|
||||
|
||||
void MenuMode::idle(Real td) {
|
||||
int w,h,i,x,y;
|
Loading…
Reference in New Issue
Block a user