chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / ghostscript / gserrors.h.patch
1 --- ./base/gserrors.h   2017-03-16 09:20:11.000000000 +0000
2 +++ ./base/gserrors.h   2017-03-18 21:02:46.586737629 +0000
3 @@ -148,14 +148,13 @@
4   *
5   */
6  
7 -#ifndef __printflike
8 +/* Redefine cdefs.h's __printflike function: */
9  #if __GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ >= 7
10  #define __printflike(fmtarg, firstvararg) \
11      __attribute__((__format__ (__printf__, fmtarg, firstvararg)))
12  #else
13  #define __printflike(fmtarg, firstvararg)
14  #endif
15 -#endif
16  
17  const char *gs_errstr(int code);
18