summaryrefslogtreecommitdiff
path: root/src/graphics.c
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2011-11-14 14:47:01 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-01-25 13:25:44 (GMT)
commitea619f554259d746a82c2abf45e5734f637ed041 (patch)
treec5c0edcebfe013a51eaaf505023b0020c7f876c1 /src/graphics.c
parentff55050b9ba7dfdcdf83457f90a94f37c7e1c907 (diff)
downloadpowder-ea619f554259d746a82c2abf45e5734f637ed041.zip
powder-ea619f554259d746a82c2abf45e5734f637ed041.tar.gz
Some fixes for compiling with Visual Studio - void* and inline
Diffstat (limited to 'src/graphics.c')
-rw-r--r--src/graphics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics.c b/src/graphics.c
index aa72139..b476cf1 100644
--- a/src/graphics.c
+++ b/src/graphics.c
@@ -888,7 +888,7 @@ inline int drawchar(pixel *vid, int x, int y, int c, int r, int g, int b, int a)
}
#if defined(WIN32) && !defined(__GNUC__)
-_inline int addchar(pixel *vid, int x, int y, int c, int r, int g, int b, int a)
+int addchar(pixel *vid, int x, int y, int c, int r, int g, int b, int a)
#else
inline int addchar(pixel *vid, int x, int y, int c, int r, int g, int b, int a)
#endif