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 29 30 31 32 33
|
From: Markus Wanner <markus@bluegap.ch>
Date: Tue, 16 Jun 2020 14:29:04 +0200
Subject: Allow one to compile on hurd-i386.
Forwarded: no
Last-Update: 2016-05-31
Pretending to be FREEBSD in the ShivaVG parts of simgear (?).
---
simgear/canvas/ShivaVG/src/shConfig.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/simgear/canvas/ShivaVG/src/shConfig.h b/simgear/canvas/ShivaVG/src/shConfig.h
index e9af58a..b785f06 100644
--- a/simgear/canvas/ShivaVG/src/shConfig.h
+++ b/simgear/canvas/ShivaVG/src/shConfig.h
@@ -36,10 +36,15 @@
// FreeBSD
#define VG_API_OPENBSD
+#elif defined(__gnu_hurd__)
+
+ // pretend to be FreeBSD-ish
+ #define VG_API_FREEBSD
+
#else
// Unsupported system
- #error This operating system is not supported by SFML library
+ #error This operating system is not supported by (simgear) SFML library
#endif
|