Permalink
Browse files

- fix windows build on <vc10

  • Loading branch information...
pierrejoye committed Feb 6, 2012
1 parent c9f728e commit d54a8d1bb68b7e9f62369131e29ff54ebaca9a51
Showing with 16 additions and 4 deletions.
  1. +6 −1 src/hash.h
  2. +5 −1 src/rfc1321/global.h
  3. +5 −2 win32/inttypes.h
View
@@ -18,7 +18,12 @@
#ifndef LIBVBUCKET_HASH_H
#define LIBVBUCKET_HASH_H 1
-#include <stdint.h>
+#ifndef HAVE_STDINT_h
+# include "win_stdint.h"
+#else
+# include <stdint.h>
+#endif
+
#include <sys/types.h>
#include <stdio.h>
View
@@ -10,7 +10,11 @@
#define PROTOTYPES 0
#endif
-#include <stdint.h>
+#ifndef HAVE_STDINT_h
+# include "win_stdint.h"
+#else
+# include <stdint.h>
+#endif
/* POINTER defines a generic pointer type */
typedef unsigned char *POINTER;
View
@@ -3,7 +3,10 @@
*/
#ifndef INTTYPES_H
#define INTTYPES_H
-
-#include <stdint.h>
+#ifndef HAVE_STDINT_h
+# include "win_stdint.h"
+#else
+# include <stdint.h>
+#endif
#endif

0 comments on commit d54a8d1

Please sign in to comment.