summaryrefslogtreecommitdiff
path: root/src/core/endian_type.hpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2019-03-19 22:23:09 +0100
committerPatric Stout <truebrain@openttd.org>2019-03-19 23:22:51 +0100
commit72c5f2b3eed77120d86ecf636e07c71eb23b4bd5 (patch)
tree12c5cf8d3445bfa072f90aec5d7de92c6be8056b /src/core/endian_type.hpp
parent559d4e833560bfd0a62ea65f5556920122a4930d (diff)
downloadopenttd-72c5f2b3eed77120d86ecf636e07c71eb23b4bd5.tar.xz
Remove: DOS support
In 10 years there was no active development on DOS. Although it turned out to still work, the FPS was very bad. There is little interest in the current community to look into this. Further more, we like to switch to c++11 functions for threads, which are not implemented by DJGPP, the only current compiler for DOS. Additionally, DOS is the only platform which does not support networking. It is the reason we have tons of #ifdefs to support disabling networking. By removing DOS support, we can both use c++11 functions for threads, and remove all the code related to disabling network. Sadly, this means we have to see DOS go. Of course, if you feel up for the task, simply revert this commit, and implement stub c++11 functions for threads and stub functions for networking. We are more than happy to accept such Pull Request.
Diffstat (limited to 'src/core/endian_type.hpp')
-rw-r--r--src/core/endian_type.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/endian_type.hpp b/src/core/endian_type.hpp
index 6e5defc64..1cacf6c0c 100644
--- a/src/core/endian_type.hpp
+++ b/src/core/endian_type.hpp
@@ -26,7 +26,7 @@
#define TTD_BIG_ENDIAN 1
/* Windows has always LITTLE_ENDIAN */
-#if defined(_WIN32) || defined(__OS2__) || defined(__HAIKU__) || defined(__DJGPP__)
+#if defined(_WIN32) || defined(__OS2__) || defined(__HAIKU__)
# define TTD_ENDIAN TTD_LITTLE_ENDIAN
#elif defined(OSX)
# include <sys/types.h>