summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Fornwall <fredrik@fornwall.net>2014-07-07 03:56:17 -0400
committerPaul Smith <psmith@gnu.org>2014-07-07 03:56:17 -0400
commit2ede2227a9e7403efef88bc55ce21f4ae83fb711 (patch)
tree572544303feb1c5ed58507c9ff5869a41b1d2274
parentc27823bc7ff90df28e1d3cae1c37f6b67749ec87 (diff)
downloadmake-2ede2227a9e7403efef88bc55ce21f4ae83fb711.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 e49137b7..50d84952 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. */