summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Fornwall <fredrik@fornwall.net>2014-02-03 09:28:40 -0500
committerPaul Smith <psmith@gnu.org>2014-07-07 03:56:17 -0400
commit8b01e6bebff11b242549a0b48456a17772099d71 (patch)
tree572544303feb1c5ed58507c9ff5869a41b1d2274
parent55c00544cc2ae2a91471d3ffdc3ca1974061387a (diff)
downloadgunmake-8b01e6bebff11b242549a0b48456a17772099d71.tar.gz
* arscan.c [ANDROID]: Android has no ar.h but supports archives.
Copyright-paperwork-exempt: yes
-rw-r--r--arscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arscan.c b/arscan.c
index e49137b..50d8495 100644
--- 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. */