I'm trying to compile Libgpg-error by Visual C++.
But stdint.h is not in Visual C++, so it is C99.
Please modify w32-gettext.c not to include stdint.h.
I suggest the following patch.
- w32-gettext.c.orig 2006-11-25 07:16:10.000000000 +0900
+++ w32-gettext.c 2006-11-25 23:56:41.000000000 +0900
@@ -30,7 +30,11 @@
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
+#ifdef _MSC_VER
+#define uint32_t unsigned
+#else
#include <stdint.h>
+#endif
#include <gpg-error.h>