summaryrefslogtreecommitdiff
path: root/stun/md5.c
diff options
context:
space:
mode:
authorYouness Alaoui <youness.alaoui@collabora.co.uk>2008-11-24 18:57:31 -0500
committerYouness Alaoui <youness.alaoui@collabora.co.uk>2008-11-24 18:57:31 -0500
commit37be72385f5f0feae062989d6048a17a9f419767 (patch)
treed5b6b4f3e24d8becc37c06d59fb9ffafd3cd2f55 /stun/md5.c
parentde80c72a0c6380edb567e7037f9ffe1f615bbf11 (diff)
downloadlibnice-37be72385f5f0feae062989d6048a17a9f419767.tar.gz
__BYTE_ORDER is not defined in windows, so we assume we're little endian whenever we're building on windows...
Diffstat (limited to 'stun/md5.c')
-rw-r--r--stun/md5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stun/md5.c b/stun/md5.c
index 4e27503..536ee52 100644
--- a/stun/md5.c
+++ b/stun/md5.c
@@ -36,7 +36,7 @@
static void MD5Transform(uint32_t buf[4], uint32_t const in[16]);
-#if __BYTE_ORDER != __BIG_ENDIAN
+#if defined(_WIN32) || __BYTE_ORDER != __BIG_ENDIAN
#define byteReverse(buf, len) /* Nothing */
#else
/*