dungeon_crawler
diff prototype/drawtext/drawtext_impl.h @ 66:6a471c87f9ca
- added visual studio project files
- changed some __func__ into __FUNCTION__ to compile on visual studio
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 07 Oct 2012 00:19:48 +0200 |
parents | 2fc004802739 |
children |
line diff
1.1 --- a/prototype/drawtext/drawtext_impl.h Tue Oct 02 13:42:18 2012 +0300 1.2 +++ b/prototype/drawtext/drawtext_impl.h Sun Oct 07 00:19:48 2012 +0200 1.3 @@ -18,6 +18,10 @@ 1.4 #ifndef TEXT_IMPL_H_ 1.5 #define TEXT_IMPL_H_ 1.6 1.7 +#include <stdio.h> 1.8 +#include <string.h> 1.9 +#include <errno.h> 1.10 + 1.11 struct glyph { 1.12 int code; 1.13 float x, y, width, height; 1.14 @@ -61,7 +65,7 @@ 1.15 1.16 1.17 #define fperror(str) \ 1.18 - fprintf(stderr, "%s: %s: %s\n", __func__, (str), strerror(errno)) 1.19 + fprintf(stderr, "%s: %s: %s\n", __FUNCTION__, (str), strerror(errno)) 1.20 1.21 int dtx_gl_init(void); 1.22