File: Enable-support-for-GNU-Hurd.patch

package info (click to toggle)
arrayfire 3.3.2%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 109,016 kB
  • sloc: cpp: 127,909; lisp: 6,878; python: 3,923; ansic: 1,051; sh: 347; makefile: 338; xml: 175
file content (21 lines) | stat: -rw-r--r-- 571 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Ghislain Antony Vaillant <ghisvail@gmail.com>
Date: Fri, 8 Apr 2016 10:18:04 +0100
Subject: Enable support for GNU/Hurd.

---
 src/backend/host_memory.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backend/host_memory.cpp b/src/backend/host_memory.cpp
index b81d4fc..e96340e 100644
--- a/src/backend/host_memory.cpp
+++ b/src/backend/host_memory.cpp
@@ -16,7 +16,7 @@
 #include <sys/types.h>
 #include <sys/param.h>
 
-#if defined(BSD) && !defined(__gnu_hurd__)
+#if defined(BSD) && !defined(__GNU__)
 #include <sys/sysctl.h>
 #endif