OSDN Git Service

do not enable madvise() use on Hurd for JSC
authorIvailo Monev <xakepa10@gmail.com>
Tue, 24 Nov 2020 18:14:33 +0000 (18:14 +0000)
committerIvailo Monev <xakepa10@gmail.com>
Tue, 24 Nov 2020 18:14:33 +0000 (18:14 +0000)
Hurd does not have MAD_FREE

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/3rdparty/javascriptcore/wtf/Platform.h

index 51e44b5..aa0b48f 100644 (file)
@@ -53,6 +53,9 @@ QT_USE_NAMESPACE
 #define HAVE_TM_GMTOFF 1
 #define HAVE_TM_ZONE 1
 #define HAVE_TIMEGM 1
+#endif
+
+#if !defined(Q_OS_SOLARIS) && !defined(Q_OS_HURD)
 #define HAVE_MADV_FREE 1
 #endif