mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 05:40:07 +02:00
23 lines
637 B
Plaintext
23 lines
637 B
Plaintext
From aa0681736940d18a5eb4a7bfad3b70f77159ef83 Mon Sep 17 00:00:00 2001
|
|
From: Jerome Duval <jerome.duval@gmail.com>
|
|
Date: Fri, 26 Feb 2016 14:51:15 +0000
|
|
Subject: Haiku patch
|
|
|
|
|
|
diff --git a/arscan.c b/arscan.c
|
|
index 24286fd..768bbfe 100644
|
|
--- a/arscan.c
|
|
+++ b/arscan.c
|
|
@@ -325,7 +325,7 @@ ar_scan (const char *archive, ar_member_func_t function, const void *varg)
|
|
#endif
|
|
|
|
#ifndef WINDOWS32
|
|
-# if !defined (__ANDROID__) && !defined (__BEOS__)
|
|
+# if !defined (__ANDROID__) && !defined (__BEOS__) && !defined (__HAIKU__)
|
|
# include <ar.h>
|
|
# else
|
|
/* These platforms don't have <ar.h> but have archives in the same format
|
|
--
|
|
2.2.2
|
|
|