Changeset 841 for trunk/dll/tools.c


Ignore:
Timestamp:
Sep 23, 2007, 6:27:51 PM (18 years ago)
Author:
Gregg Young
Message:

This implements large file support; The wrappers to allow WARP3 compatibility are not done so this will not run on Warp3or Warp 4 pre fixpack 12(?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/tools.c

    r838 r841  
    2222#define INCL_DOS
    2323#define INCL_WIN
     24#define INCL_LONGLONG
    2425#include <os2.h>
    2526
     
    889890                      EM_SETTEXTLIMIT, MPFROM2SHORT(CCHMAXPATH, 0), MPVOID);
    890891    {
    891       FILEFINDBUF3 findbuf;
     892      FILEFINDBUF3L findbuf;
    892893      HDIR hDir;
    893894      ULONG ulSearchCount, x = 0;
     
    904905                           FILE_ARCHIVED,
    905906                           &findbuf,
    906                            sizeof(FILEFINDBUF3),
    907                            &ulSearchCount, FIL_STANDARD)) {
     907                           sizeof(FILEFINDBUF3L),
     908                           &ulSearchCount, FIL_STANDARDL)) {
    908909          do {
    909910            priority_bumped();
     
    916917          } while (!xDosFindNext(hDir,
    917918                                 &findbuf,
    918                                  sizeof(FILEFINDBUF3), &ulSearchCount));
     919                                 sizeof(FILEFINDBUF3L), &ulSearchCount));
    919920          DosFindClose(hDir);
    920921          priority_bumped();
Note: See TracChangeset for help on using the changeset viewer.