summaryrefslogtreecommitdiff
path: root/md5.c
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2004-12-13 22:19:37 +0000
committerbjarni <bjarni@openttd.org>2004-12-13 22:19:37 +0000
commit1b386f46b452e42352ed8dc67716696102485749 (patch)
treeff25b6a9c6aa67105b062dda5aa228cf936f0dd0 /md5.c
parenta9972399c52f0d91f089ba3ab928edf9442fd10f (diff)
downloadopenttd-1b386f46b452e42352ed8dc67716696102485749.tar.xz
(svn r1078) md5.c vc6 + vs.net fix for release builds (sign_de)
Diffstat (limited to 'md5.c')
-rw-r--r--md5.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/md5.c b/md5.c
index 59fe5e7cf..03d492c91 100644
--- a/md5.c
+++ b/md5.c
@@ -51,15 +51,15 @@
1999-05-03 lpd Original version.
*/
+#include "stdafx.h"
#include "md5.h"
#include <string.h>
-#include "stdafx.h"
#undef BYTE_ORDER /* 1 = big-endian, -1 = little-endian, 0 = unknown */
-#ifdef ARCH_IS_BIG_ENDIAN
-# define BYTE_ORDER (ARCH_IS_BIG_ENDIAN ? 1 : -1)
+#if defined(TTD_BIG_ENDIAN)
+# define BYTE_ORDER 1
#else
-# define BYTE_ORDER 0
+# define BYTE_ORDER -1
#endif
#define T_MASK ((md5_word_t)~0)