Since MingW for quite a long time (since 3.2 in 2008?) has defined 'uint32_t' etc. in it's <stdint.h>, we need to guard against defining
them again. Ideally we should figure out in what version of MingW
this happened. But for now:

--- SVN-Latest\config-win32.h   Sat Apr 09 05:59:09 2011
+++ config-win32.h      Sat Apr 09 13:49:55 2011
@@ -258,6 +258,7 @@
/* type to use in place of socklen_t if not defined */
#define socklen_t unsigned int

+#ifndef __MINGW32__
/* 32-bit unsigned type */
#define uint32_t unsigned int

@@ -266,6 +267,7 @@

/* 8-bit unsigned type */
#define uint8_t unsigned char
+#endif

/* Route command */
#define ROUTE_PATH "route"

----------------

--gv

Reply via email to