]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
#ifdef's around stdint.h include
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 10 Jul 2006 02:32:27 +0000 (02:32 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Mon, 10 Jul 2006 02:32:27 +0000 (02:32 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4260 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_opermd5.cpp

index b28679372d142813ec764f15f82d395424c0b17d..c5ac5a0eee3ce5e453a0b83cdf0653977053ebaf 100644 (file)
 using namespace std;
 
 #include <stdio.h>
+#include "inspircd_config.h"
+#ifdef STDINT_H
+#include <stdint.h>
+#endif
 #include "users.h"
 #include "channels.h"
 #include "modules.h"
@@ -34,7 +38,7 @@ using namespace std;
 #define MD5STEP(f,w,x,y,z,in,s) \
          (w += f(x,y,z) + in, w = (w<<s | w>>(32-s)) + x)
 
-typedef unsigned int word32; /* NOT unsigned long. We don't support 16 bit platforms, anyway. */
+typedef uint32_t word32; /* NOT unsigned long. We don't support 16 bit platforms, anyway. */
 typedef unsigned char byte;
 
 struct MD5Context {