Set fixed alignment because otherwise the MacOS X gcc doesn't like it.

merge-requests/1/head
Henning Geinitz 2003-05-03 20:39:43 +00:00
rodzic 895ab09f6a
commit 28b2844c90
2 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -1,6 +1,7 @@
2003-05-03 Henning Meier-Geinitz <henning@meier-geinitz.de>
* include/md5.h: Check for __attribute__ explicitely.
* include/md5.h: Set fixed alignment because otherwise the MacOS X
gcc doesn't like it.
* backend/ibm.c backend/ibm-scsi.c doc/descriptions/ibm.desc:
Disabled object_position. That should fix the Ricoh IS-420.

Wyświetl plik

@ -83,8 +83,8 @@ typedef unsigned long int md5_uintptr;
#define __md5_buffer md5_buffer
#if defined __GNUC__ && defined __attribute__
#define ALIGN __attribute__ ((__aligned__ (__alignof__ (md5_uint32))))
#if defined __GNUC__
#define ALIGN __attribute__ ((__aligned__ (4)))
#else
#define ALIGN
#endif