summaryrefslogtreecommitdiffstats
path: root/common/md5.h
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2017-01-28 21:02:11 +0100
committerChristian Beier <dontmind@freeshell.org>2017-01-28 21:02:11 +0100
commit73684172397d63c4274d7fbdf940f428cf31744c (patch)
treee76a49de1af950fece3cf88c30b2fe3e3dfa736a /common/md5.h
parent37f293d58873114fc02a4df4081ba9936da1fd71 (diff)
downloadlibtdevnc-73684172397d63c4274d7fbdf940f428cf31744c.tar.gz
libtdevnc-73684172397d63c4274d7fbdf940f428cf31744c.zip
Various #ifdef fixes to allow building with MSVC2014
Diffstat (limited to 'common/md5.h')
-rw-r--r--common/md5.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/md5.h b/common/md5.h
index 0fb0a4a..b0daab1 100644
--- a/common/md5.h
+++ b/common/md5.h
@@ -88,7 +88,11 @@ struct md5_ctx
md5_uint32 total[2];
md5_uint32 buflen;
- char buffer[128] __attribute__ ((__aligned__ (__alignof__ (md5_uint32))));
+ char buffer[128]
+#if __GNUC__
+ __attribute__ ((__aligned__ (__alignof__ (md5_uint32))))
+#endif
+ ;
};
/*