Fix libjasper build on 32-bit MinGW
authorAndrey Kamaev <andrey.kamaev@itseez.com>
Thu, 30 Aug 2012 19:14:09 +0000 (23:14 +0400)
committerAndrey Kamaev <andrey.kamaev@itseez.com>
Thu, 30 Aug 2012 19:14:09 +0000 (23:14 +0400)
3rdparty/libjasper/jas_malloc.c

index 0982036..abb3498 100644 (file)
@@ -78,7 +78,7 @@
 #include <string.h>
 #include <limits.h>
 #include <errno.h>
-#ifndef _WIN32
+#if !defined _WIN32 || defined __MINGW__ || defined __MINGW32__
 #include <stdint.h>
 #endif