64bit Windows support (patch by Michael Menegakis)

This commit is contained in:
Ludwig Nussel committed 2010-02-28 09:00:02 +00:00
1 parent 34d616dbef
commit 760f4a1949
7 files changed
+151 -63

No files matched your search

+3
View File
@@ -14,6 +14,9 @@
* JPEG library. Most applications need only include jpeglib.h.
*/
#ifdef __WIN64__
#include "basetsd.h"
#endif
#ifdef _MSC_VER
+2
View File
@@ -158,9 +158,11 @@ typedef short INT16;
/* INT32 must hold at least signed 32-bit values. */
/* MinGW basetsd.h defines INT32 - don't redefine it */
#ifndef __WIN64
#if !(defined __MINGW32__ && defined _BASETSD_H)
typedef long INT32;
#endif
#endif
/* Datatype used for image dimensions. The JPEG standard only supports
* images up to 64K*64K due to 16-bit fields in SOF markers. Therefore