Skip to contentSkip to conversation

config-win32.h

PATCH New Gisle Vanem 1 participant 1 message Apr 9, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 config-win32.h

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:

config-win32.h Sat Apr 09 13:49:55 2011 renamed from SVN-Latest\config-win32.h Sat Apr 09 05:59:09 2011 +0 -0
@@ -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