*** drvrfile.c.orig	2010-12-02 15:12:02.610464143 +0000
--- drvrfile.c	2010-12-02 15:12:25.089213906 +0000
***************
*** 391,417 ****
  
      diskfile = handleTable[handle].fileptr;
  
- #if _FILE_OFFSET_BITS - 0 == 64
- 
- /* call the newer ftello and fseeko routines , which support */
- /*  Large Files (> 2GB) if they are supported.  */
- 
-     position1 = ftello(diskfile);   /* save current postion */
-     if (position1 < 0)
-         return(SEEK_ERROR);
- 
-     if (fseeko(diskfile, 0, 2) != 0)  /* seek to end of file */
-         return(SEEK_ERROR);
- 
-     position2 = ftello(diskfile);     /* get file size */
-     if (position2 < 0)
-         return(SEEK_ERROR);
- 
-     if (fseeko(diskfile, position1, 0) != 0)  /* seek back to original pos */
-         return(SEEK_ERROR);
- 
- #else
- 
      position1 = ftell(diskfile);   /* save current postion */
      if (position1 < 0)
          return(SEEK_ERROR);
--- 391,396 ----
***************
*** 426,433 ****
      if (fseek(diskfile, position1, 0) != 0)  /* seek back to original pos */
          return(SEEK_ERROR);
  
- #endif
- 
      *filesize = (LONGLONG) position2;
      
      return(0);
--- 405,410 ----
***************
*** 484,501 ****
  */
  {
  
- #if _FILE_OFFSET_BITS - 0 == 64
- 
-     if (fseeko(handleTable[handle].fileptr, (OFF_T) offset, 0) != 0)
-         return(SEEK_ERROR);
- 
- #else
- 
      if (fseek(handleTable[handle].fileptr, (OFF_T) offset, 0) != 0)
          return(SEEK_ERROR);
  
- #endif
- 
      handleTable[handle].currentpos = offset;
      return(0);
  }
--- 461,469 ----
