Add HAS_STDINT checks here, this had been sitting not in extra/ and using stdint.h for aaaages anyway...

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4264 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
om 2006-07-10 07:06:37 +00:00
parent c307344610
commit d8aba7e60b

View File

@ -31,7 +31,10 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "inspircd_config.h"
#ifdef HAS_STDINT
#include <stdint.h>
#endif
#include "inspircd.h"
#include "users.h"
#include "channels.h"
@ -48,6 +51,10 @@
#define F4(x, y, z) (y ^ (x | ~z))
#define MD5STEP(f,w,x,y,z,in,s) (w += f(x,y,z) + in, w = (w<<s | w>>(32-s)) + x)
#ifndef HAS_STDINT
typedef unsigned int uint32_t;
#endif
typedef uint32_t word32; /* NOT unsigned long. We don't support 16 bit platforms, anyway. */
typedef unsigned char byte;