You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
942 B
32 lines
942 B
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
|
|
|