blob: 052b849d9e34ba5748b503220e4e60c37f89d015 (
plain) (
tree)
|
|
From b2b36b864813e512829ab8a3613f8a91f2bff20e Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Wed, 29 Aug 2018 11:27:38 -0500
Subject: [PATCH] htmesh: Fix compile error on modern Linux systems
---
kstars/htmesh/SkipListElement.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kstars/htmesh/SkipListElement.h b/kstars/htmesh/SkipListElement.h
index f8187e42a..52dfff38a 100644
--- a/kstars/htmesh/SkipListElement.h
+++ b/kstars/htmesh/SkipListElement.h
@@ -20,7 +20,7 @@
#define KEY_MAX _I64_MAX
#else
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || \
- (defined(__SUNPRO_CC) && defined(__sun)) || defined(__APPLE__)
+ (defined(__SUNPRO_CC) && defined(__sun)) || defined(__APPLE__) || defined(__linux__)
#define KEY_MAX LLONG_MAX
#else
#define KEY_MAX LONG_LONG_MAX
--
2.17.1
|