Fix MinGW warning on implicit 'exit' declaration
authorAndrey Kamaev <andrey.kamaev@itseez.com>
Thu, 30 Aug 2012 18:48:36 +0000 (22:48 +0400)
committerAndrey Kamaev <andrey.kamaev@itseez.com>
Thu, 30 Aug 2012 18:51:03 +0000 (22:51 +0400)
3rdparty/libjpeg/jconfig.h

index 025ff5a..e66cc77 100644 (file)
@@ -9,7 +9,7 @@
 /*#undef const*/
 #undef CHAR_IS_UNSIGNED
 
 /*#undef const*/
 #undef CHAR_IS_UNSIGNED
 
-#if !defined WIN32 && !defined _WIN32
+#if defined __MINGW__ || defined __MINGW32__ || (!defined WIN32 && !defined _WIN32)
 #define HAVE_STDDEF_H
 #define HAVE_STDLIB_H 
 #endif
 #define HAVE_STDDEF_H
 #define HAVE_STDLIB_H 
 #endif