]> git.pld-linux.org Git - packages/fceultra.git/blame - fceultra-build.patch
- don't declare asprintf again
[packages/fceultra.git] / fceultra-build.patch
CommitLineData
3b60063c 1--- fceu2.1.5/src/file.cpp~ 2010-09-19 02:05:09.000000000 +0200
2+++ fceu2.1.5/src/file.cpp 2011-08-16 12:20:00.605072049 +0200
3@@ -460,21 +460,6 @@
4 }
5 }
6
7- #ifndef HAVE_ASPRINTF
8- static int asprintf(char **strp, const char *fmt, ...)
9- {
10- va_list ap;
11- int ret;
12-
13- va_start(ap,fmt);
14- if(!(*strp=(char*)FCEU_dmalloc(2048))) //mbg merge 7/17/06 cast to char*
15- return(0);
16- ret=vsnprintf(*strp,2048,fmt,ap);
17- va_end(ap);
18- return(ret);
19- }
20- #endif
21-
22 std::string FCEU_GetPath(int type)
23 {
24 char ret[FILENAME_MAX];
This page took 0.061233 seconds and 4 git commands to generate.