diff options
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -416,6 +416,10 @@ size_t xwrite(int fd, const void *buf, size_t nbytes) { } char *xconfstr(int name) { +#if __ANDROID__ + errno = ENOSYS; + return NULL; +#else size_t len = confstr(name, NULL, 0); if (len == 0) { return NULL; @@ -432,6 +436,7 @@ char *xconfstr(int name) { } return str; +#endif // !__ANDROID__ } char *xgetdelim(FILE *file, char delim) { |