X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=mdfour.h;h=5a141755a2cb396f80ff2369fc6086470c00101b;hp=c6542a217eef8510041983ea46e1b5a20e08ec97;hb=1e01840681f92f425aa17e1a18c7dfcf3bf80e40;hpb=6b72cddee4efc077bfe7ce185ada0e5c15332d4d diff --git a/mdfour.h b/mdfour.h index c6542a21..5a141755 100644 --- a/mdfour.h +++ b/mdfour.h @@ -28,21 +28,11 @@ #ifndef _MDFOUR_H #define _MDFOUR_H -#ifndef int32 -#define int32 int -#endif - -#if SIZEOF_INT > 4 -#define LARGE_INT32 -#endif - -#ifndef uint32 -#define uint32 unsigned int32 -#endif +#include struct mdfour_s { - uint32 A, B, C, D; - uint32 totalN; + uint32_t A, B, C, D; + uint32_t totalN; }; void mdfour_begin(struct mdfour_s *md); // old: MD4Init