Restore backward compatibility with MSVC < 2010 (broken by r1541)

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1543 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2015-04-30 09:05:53 +00:00
parent f64b36fd57
commit 96869f4b6e
3 changed files with 7 additions and 0 deletions

View File

@@ -21,7 +21,9 @@
#include "jpeglib.h" #include "jpeglib.h"
#include "jchuff.h" /* Declarations shared with jcphuff.c */ #include "jchuff.h" /* Declarations shared with jcphuff.c */
#include <limits.h> #include <limits.h>
#ifdef HAVE_STDINT_H
#include <stdint.h> #include <stdint.h>
#endif
/* /*
* NOTE: If USE_CLZ_INTRINSIC is defined, then clz/bsr instructions will be * NOTE: If USE_CLZ_INTRINSIC is defined, then clz/bsr instructions will be

View File

@@ -32,6 +32,9 @@
/* Define to 1 if you have the <stdlib.h> header file. */ /* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H #undef HAVE_STDLIB_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if the system has the type `unsigned char'. */ /* Define to 1 if the system has the type `unsigned char'. */
#undef HAVE_UNSIGNED_CHAR #undef HAVE_UNSIGNED_CHAR

View File

@@ -22,7 +22,9 @@
#include "jdhuff.h" /* Declarations shared with jdphuff.c */ #include "jdhuff.h" /* Declarations shared with jdphuff.c */
#include "jpegcomp.h" #include "jpegcomp.h"
#include "jstdhuff.c" #include "jstdhuff.c"
#ifdef HAVE_STDINT_H
#include <stdint.h> #include <stdint.h>
#endif
/* /*