diff options
author | aavit <qt-info@nokia.com> | 2011-04-05 09:25:59 (GMT) |
---|---|---|
committer | aavit <qt-info@nokia.com> | 2011-04-05 09:25:59 (GMT) |
commit | 0e12c56a972320a608bbb8c31b7726674f000bb1 (patch) | |
tree | f2b53516309dbfbf4df8c6374769fccdaf8ebe1d /src/3rdparty/libjpeg | |
parent | 2f59eaeee1fbe33d07b0e7d0747afd8658df95ac (diff) | |
download | Qt-0e12c56a972320a608bbb8c31b7726674f000bb1.zip Qt-0e12c56a972320a608bbb8c31b7726674f000bb1.tar.gz Qt-0e12c56a972320a608bbb8c31b7726674f000bb1.tar.bz2 |
Really avoid compiler warnings on Windows
Diffstat (limited to 'src/3rdparty/libjpeg')
-rw-r--r-- | src/3rdparty/libjpeg/jinclude.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rdparty/libjpeg/jinclude.h b/src/3rdparty/libjpeg/jinclude.h index 0a4f151..a61939d 100644 --- a/src/3rdparty/libjpeg/jinclude.h +++ b/src/3rdparty/libjpeg/jinclude.h @@ -20,6 +20,10 @@ #include "jconfig.h" /* auto configuration options */ #define JCONFIG_INCLUDED /* so that jpeglib.h doesn't do it again */ +#ifdef _MSC_VER +# define _CRT_SECURE_NO_DEPRECATE +#endif + /* * We need the NULL macro and size_t typedef. * On an ANSI-conforming system it is sufficient to include <stddef.h>. |