diff options
Diffstat (limited to '')
| -rw-r--r-- | src/gpgme-json.c | 13 | 
1 files changed, 13 insertions, 0 deletions
| diff --git a/src/gpgme-json.c b/src/gpgme-json.c index 0beb78f4..f1e9f256 100644 --- a/src/gpgme-json.c +++ b/src/gpgme-json.c @@ -114,6 +114,19 @@ static struct  #define spacep(p)   (*(p) == ' ' || *(p) == '\t') +#ifndef HAVE_STPCPY +static GPGRT_INLINE char * +_my_stpcpy (char *a, const char *b) +{ +  while (*b) +    *a++ = *b++; +  *a = 0; +  return a; +} +#define stpcpy(a,b) _my_stpcpy ((a), (b)) +#endif /*!HAVE_STPCPY*/ + +  static void  xoutofcore (const char *type) | 
