summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/libxml/libxml2/libxml-64bit.patch
blob: fd8e469dd3177c35d8f543b1cc20fc30fdb7f640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 056b14345b1abd76a761ab14538f1bc21302781a Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Sat, 11 May 2019 20:26:51 +0800
Subject: [PATCH] libxml 64bit

Upstream-Status: Backport [from debian: bugs.debian.org/439843]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 libxml.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libxml.h b/libxml.h
index 64e30f7..4e80d90 100644
--- a/libxml.h
+++ b/libxml.h
@@ -15,6 +15,9 @@
 #ifndef _LARGEFILE_SOURCE
 #define _LARGEFILE_SOURCE
 #endif
+#ifndef _LARGEFILE64_SOURCE
+#define _LARGEFILE64_SOURCE
+#endif
 #ifndef _FILE_OFFSET_BITS
 #define _FILE_OFFSET_BITS 64
 #endif
-- 
2.7.4