summaryrefslogtreecommitdiff
path: root/src/dedicated.cpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2019-03-04 20:51:46 +0100
committerPatric Stout <truebrain@openttd.org>2019-03-05 22:22:00 +0100
commit1c5ea330994f183438a47cafd382bfdb53b24888 (patch)
tree752a86510e2beef7168971d05211415d467ef7da /src/dedicated.cpp
parentaa350528dfbfc8175f140202252cfdc6dbf46aa8 (diff)
downloadopenttd-1c5ea330994f183438a47cafd382bfdb53b24888.tar.xz
Fix: warnings when compiling for a recent version of Haiku
This might break older Haiku versions, but it is hard to tell.
Diffstat (limited to 'src/dedicated.cpp')
-rw-r--r--src/dedicated.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dedicated.cpp b/src/dedicated.cpp
index e80abab16..574cbb0c3 100644
--- a/src/dedicated.cpp
+++ b/src/dedicated.cpp
@@ -22,10 +22,9 @@ FILE *_log_fd = NULL; ///< File to reroute output of a forked OpenTTD to
#include "safeguards.h"
-#if (defined(SUNOS) && !defined(_LP64) && !defined(_I32LPx)) || defined(__HAIKU__)
+#if defined(SUNOS) && !defined(_LP64) && !defined(_I32LPx)
/* Solaris has, in certain situation, pid_t defined as long, while in other
* cases it has it defined as int... this handles all cases nicely.
- * Haiku has also defined pid_t as a long.
*/
# define PRINTF_PID_T "%ld"
#else