home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / packer / jpeg / patches.os2 < prev    next >
Encoding:
Text File  |  1992-12-17  |  1.3 KB  |  45 lines

  1. diff -c old/jconfig.h new/jconfig.h
  2. *** old/jconfig.h    Wed Nov 11 19:44:50 1992
  3. --- new/jconfig.h    Thu Dec 17 00:11:26 1992
  4. ***************
  5. *** 89,98 ****
  6.    * "far" pointers and to be allocated with a special version of malloc.)
  7.    */
  8.   
  9.   #ifdef MSDOS
  10.   #define NEED_FAR_POINTERS
  11.   #endif
  12.   
  13.   /* The next three symbols only affect the system-dependent user interface
  14.    * modules (jcmain.c, jdmain.c).  You can ignore these if you are supplying
  15. --- 89,99 ----
  16.    * "far" pointers and to be allocated with a special version of malloc.)
  17.    */
  18.   
  19. + #if 0
  20.   #ifdef MSDOS
  21.   #define NEED_FAR_POINTERS
  22.   #endif
  23. ! #endif
  24.   
  25.   /* The next three symbols only affect the system-dependent user interface
  26.    * modules (jcmain.c, jdmain.c).  You can ignore these if you are supplying
  27. diff -c old/jmemsys.h new/jmemsys.h
  28. *** old/jmemsys.h    Mon Mar 02 09:19:24 1992
  29. --- new/jmemsys.h    Thu Dec 17 05:00:46 1992
  30. ***************
  31. *** 50,56 ****
  32. --- 50,60 ----
  33.    * On machines with flat address spaces, any large constant may be used here.
  34.    */
  35.   
  36. + #ifdef MSDOS
  37. + #define MAX_ALLOC_CHUNK        65440L    /* leave room for malloc overhead */
  38. + #else
  39.   #define MAX_ALLOC_CHUNK        1000000000L
  40. + #endif
  41.   
  42.   /*
  43.    * This routine computes the total space available for allocation by
  44.