From 73684172397d63c4274d7fbdf940f428cf31744c Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Sat, 28 Jan 2017 21:02:11 +0100 Subject: Various #ifdef fixes to allow building with MSVC2014 --- common/md5.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'common/md5.h') 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 + ; }; /* -- cgit v1.2.1