| Index: core/src/fxcodec/libjpeg/jmemsys.h
|
| diff --git a/core/src/fxcodec/libjpeg/jmemsys.h b/core/src/fxcodec/libjpeg/jmemsys.h
|
| index ef1481514b06576a6f49f419b28755f78350219b..896688181bf54b9ba0f10224a5a4c2ef42c9c099 100644
|
| --- a/core/src/fxcodec/libjpeg/jmemsys.h
|
| +++ b/core/src/fxcodec/libjpeg/jmemsys.h
|
| @@ -12,10 +12,7 @@
|
| *
|
| * This file works as-is for the system-dependent memory managers supplied
|
| * in the IJG distribution. You may need to modify it if you write a
|
| - * custom memory manager. If system-dependent changes are needed in
|
| - * this file, the best method is to #ifdef them based on a configuration
|
| - * symbol supplied in jconfig.h, as we have done with USE_MSDOS_MEMMGR
|
| - * and USE_MAC_MEMMGR.
|
| + * custom memory manager.
|
| */
|
|
|
|
|
| @@ -115,25 +112,6 @@ EXTERN(long) jpeg_mem_available JPP((j_common_ptr cinfo,
|
|
|
| #define TEMP_NAME_LENGTH 64 /* max length of a temporary file's name */
|
|
|
| -
|
| -#ifdef USE_MSDOS_MEMMGR /* DOS-specific junk */
|
| -
|
| -typedef unsigned short XMSH; /* type of extended-memory handles */
|
| -typedef unsigned short EMSH; /* type of expanded-memory handles */
|
| -
|
| -typedef union {
|
| - short file_handle; /* DOS file handle if it's a temp file */
|
| - XMSH xms_handle; /* handle if it's a chunk of XMS */
|
| - EMSH ems_handle; /* handle if it's a chunk of EMS */
|
| -} handle_union;
|
| -
|
| -#endif /* USE_MSDOS_MEMMGR */
|
| -
|
| -#ifdef USE_MAC_MEMMGR /* Mac-specific junk */
|
| -#include <Files.h>
|
| -#endif /* USE_MAC_MEMMGR */
|
| -
|
| -
|
| typedef struct backing_store_struct * backing_store_ptr;
|
|
|
| typedef struct backing_store_struct {
|
| @@ -150,24 +128,9 @@ typedef struct backing_store_struct {
|
| backing_store_ptr info));
|
|
|
| /* Private fields for system-dependent backing-store management */
|
| -#ifdef USE_MSDOS_MEMMGR
|
| - /* For the MS-DOS manager (jmemdos.c), we need: */
|
| - handle_union handle; /* reference to backing-store storage object */
|
| - char temp_name[TEMP_NAME_LENGTH]; /* name if it's a file */
|
| -#else
|
| -#ifdef USE_MAC_MEMMGR
|
| - /* For the Mac manager (jmemmac.c), we need: */
|
| - short temp_file; /* file reference number to temp file */
|
| - FSSpec tempSpec; /* the FSSpec for the temp file */
|
| - char temp_name[TEMP_NAME_LENGTH]; /* name if it's a file */
|
| -#else
|
| /* For a typical implementation with temp files, we need: */
|
| -#ifndef _FPDFAPI_MINI_
|
| FXSYS_FILE * temp_file; /* stdio reference to temp file */
|
| char temp_name[TEMP_NAME_LENGTH]; /* name of temp file */
|
| -#endif
|
| -#endif
|
| -#endif
|
| } backing_store_info;
|
|
|
|
|
|
|