for qtv to work too.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4020 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2012-04-20 15:18:01 +00:00
parent 6385756e75
commit 3c5cb8ee20

View file

@ -16,7 +16,10 @@ This file came to FTE via EzQuake.
/* #define SHA1HANDSOFF * Copies data before messing with it. */
#include "quakedef.h"
//#include "quakedef.h"
#include <string.h>
#define BigLong(l) (((unsigned char*)&l)[0]<<24) | (((unsigned char*)&l)[1]<<16) | (((unsigned char*)&l)[2]<<8) | (((unsigned char*)&l)[3]<<0)
#define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits))))