summaryrefslogtreecommitdiff
path: root/games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp')
-rw-r--r--games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp b/games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp
new file mode 100644
index 000000000000..476925c8c3ac
--- /dev/null
+++ b/games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp
@@ -0,0 +1,13 @@
+--- src/gui/PainterSDL/PainterSDL.cpp.orig Fri Jul 15 19:47:12 2005
++++ src/gui/PainterSDL/PainterSDL.cpp Sat Jul 23 12:41:09 2005
+@@ -30,10 +30,8 @@
+
+ #include "TextureSDL.hpp"
+
+-#ifdef _MSC_VER
+ #define lrint(x) (long int)x
+ #define lroundf(x) (long int)(x + .5)
+-#endif
+
+ PainterSDL::PainterSDL(SDL_Surface* _target)
+ : target(_target)