* arscan.c [ANDROID]: Android has no ar.h but supports archives.
authorFredrik Fornwall <fredrik@fornwall.net>
Mon, 3 Feb 2014 14:28:40 +0000 (09:28 -0500)
committerPaul Smith <psmith@gnu.org>
Mon, 7 Jul 2014 07:56:17 +0000 (03:56 -0400)
Copyright-paperwork-exempt: yes

arscan.c

index e49137b7a39e354be8b015bc83f0e76f73c34201..50d84952f5a78c538a1503a3376000396f6bba44 100644 (file)
--- a/arscan.c
+++ b/arscan.c
@@ -253,10 +253,10 @@ ar_scan (const char *archive, ar_member_func_t function, const void *varg)
 #endif
 
 #ifndef WINDOWS32
-# ifndef __BEOS__
+# if !defined (__ANDROID__) && !defined (__BEOS__)
 #  include <ar.h>
 # 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.
     */
 #  define ARMAG "!<arch>\n"     /* String that begins an archive file.  */