* arscan.c [ANDROID]: Android has no ar.h but supports archives.

Copyright-paperwork-exempt: yes
This commit is contained in:
Fredrik Fornwall 2014-02-03 09:28:40 -05:00 committed by Paul Smith
parent 55c00544cc
commit 8b01e6bebf

View File

@ -253,10 +253,10 @@ ar_scan (const char *archive, ar_member_func_t function, const void *varg)
#endif #endif
#ifndef WINDOWS32 #ifndef WINDOWS32
# ifndef __BEOS__ # if !defined (__ANDROID__) && !defined (__BEOS__)
# include <ar.h> # include <ar.h>
# else # else
/* BeOS 5 doesn't have <ar.h> but has archives in the same format /* These platforms don't have <ar.h> but have archives in the same format
* as many other Unices. This was taken from GNU binutils for BeOS. * as many other Unices. This was taken from GNU binutils for BeOS.
*/ */
# define ARMAG "!<arch>\n" /* String that begins an archive file. */ # define ARMAG "!<arch>\n" /* String that begins an archive file. */