Commit | Line | Data |
---|---|---|
f5404c4a FF |
1 | diff -u -r ../elfutils-0.168/config.h.in ./config.h.in |
2 | --- ../elfutils-0.168/config.h.in 2016-12-28 10:33:20.000000000 +0100 | |
3 | +++ ./config.h.in 2017-07-09 23:32:21.305290105 +0200 | |
cf310881 FF |
4 | @@ -1,4 +1,7 @@ |
5 | /* config.h.in. Generated from configure.ac by autoheader. */ | |
6 | +#include <libgen.h> /* for basename(3) */ | |
7 | +#include <stdio_ext.h> /* for fputc_unlocked(3) */ | |
8 | +#define DL_CALL_FCT(f, args) ((*(f)) args) | |
9 | ||
10 | /* Building with -fsanitize=undefined or not */ | |
11 | #undef CHECK_UNDEFINED | |
f5404c4a FF |
12 | @@ -117,4 +120,14 @@ |
13 | /* Define for large files, on AIX-style hosts. */ | |
14 | #undef _LARGE_FILES | |
15 | ||
16 | +#ifdef __ANDROID__ | |
17 | +# ifndef ANDROID_MEMPCPY | |
18 | +# define ANDROID_MEMPCPY 1 | |
19 | +static __inline__ void* mempcpy(void* dest, void const* src, size_t n) | |
20 | +{ | |
21 | + return memcpy(dest, src, n) + n; | |
22 | +} | |
23 | +# endif | |
24 | +#endif | |
25 | + | |
26 | #include <eu-config.h> |