Mercurial > hg > xmms-sid
comparison src/xs_md5.c @ 214:575686094eb1
Portability fixes
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 15 Dec 2004 11:02:02 +0000 |
parents | 7048944d3bca |
children | 70ab1c28d4b2 |
comparison
equal
deleted
inserted
replaced
213:405b647cbd8d | 214:575686094eb1 |
---|---|
34 2002-08-25 ccr Edited for integration in XMMS-SID. Removed unnecessary stuff. | 34 2002-08-25 ccr Edited for integration in XMMS-SID. Removed unnecessary stuff. |
35 1999-11-04 lpd Edited comments slightly for automatic TOC extraction. | 35 1999-11-04 lpd Edited comments slightly for automatic TOC extraction. |
36 1999-10-18 lpd Fixed typo in header comment (ansi2knr rather than md5). | 36 1999-10-18 lpd Fixed typo in header comment (ansi2knr rather than md5). |
37 1999-05-03 lpd Original version. | 37 1999-05-03 lpd Original version. |
38 */ | 38 */ |
39 /* Include config.h here, because we don't include xmms-sid.h */ | |
39 #ifdef HAVE_CONFIG_H | 40 #ifdef HAVE_CONFIG_H |
40 #include <config.h> | 41 #include <config.h> |
41 #endif | 42 #endif |
43 | |
42 #include <glib.h> | 44 #include <glib.h> |
45 #ifdef HAVE_STRING_H | |
43 #include <string.h> | 46 #include <string.h> |
47 #else | |
48 #ifdef HAVE_STRINGS_H | |
49 #include <strings.h> | |
50 #endif | |
51 #endif | |
44 #include "xs_md5.h" | 52 #include "xs_md5.h" |
45 | 53 |
46 #define T1 0xd76aa478 | 54 #define T1 0xd76aa478 |
47 #define T2 0xe8c7b756 | 55 #define T2 0xe8c7b756 |
48 #define T3 0x242070db | 56 #define T3 0x242070db |