chiark / gitweb /
vim: Use sensible.vim as system vimrc
[termux-packages] / packages / frobtads / no_asprintf.patch
1 diff -u -r ../frobtads-1.2.3/src/osfrobtads.h ./src/osfrobtads.h
2 --- ../frobtads-1.2.3/src/osfrobtads.h  2013-05-17 21:46:51.000000000 +0200
3 +++ ./src/osfrobtads.h  2014-02-24 17:38:59.000000000 +0100
4 @@ -428,8 +428,10 @@
5   * that aren't available on all Unix variants.  Eventually these will
6   * need to be replaced with more thorough versions that encompass
7   * other Unix variants. */
8 +#ifndef __ANDROID__
9  int asprintf(char **strp, const char *fmt, ...);
10  int vasprintf(char **strp, const char *fmt, va_list ap);
11 +#endif
12  #define os_asprintf asprintf
13  #define os_vasprintf vasprintf
14