parent
961a4b1acb
commit
576cb8934a
@ -0,0 +1,31 @@
|
||||
From 06e7b5168e269f913f03ecb9d77fc82db4d9dfd6 Mon Sep 17 00:00:00 2001
|
||||
From: Pino Toscano <toscano.pino@tiscali.it>
|
||||
Date: Mon, 31 Jan 2022 21:36:59 +0100
|
||||
Subject: [PATCH] Hurd: enable XOPEN largefile APIs
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Hurd supports largefile, so enable it also in Qt.
|
||||
|
||||
Change-Id: I8384ca2cb5c6250376916b6a890e1a873c0a0e96
|
||||
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
|
||||
---
|
||||
mkspecs/hurd-g++/qplatformdefs.h | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/mkspecs/hurd-g++/qplatformdefs.h b/mkspecs/hurd-g++/qplatformdefs.h
|
||||
index b1887aae7f..c6d35e0ac5 100644
|
||||
--- a/mkspecs/hurd-g++/qplatformdefs.h
|
||||
+++ b/mkspecs/hurd-g++/qplatformdefs.h
|
||||
@@ -78,6 +78,7 @@
|
||||
#include <sys/wait.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
+#define QT_USE_XOPEN_LFS_EXTENSIONS
|
||||
#include "../common/posix/qplatformdefs.h"
|
||||
|
||||
#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
|
||||
--
|
||||
2.34.1
|
||||
|
Loading…
Reference in new issue