Changeset 257 for trunk/thune/unix

Show
Ignore:
Timestamp:
08/28/06 15:52:42 (2 years ago)
Author:
krobillard
Message:

Thune - size? and print now handle int64!

Location:
trunk/thune/unix
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/unix/os.c

    r248 r257  
    1818===========================================================================*/ 
    1919 
     20 
     21#define _LARGEFILE64_SOURCE     1 
     22#define _FILE_OFFSET_BITS       64      // off_t becomes 8 bytes. 
    2023 
    2124#include <sys/types.h> 
     
    9699  Returns -1 if not present. 
    97100*/ 
    98 int ur_fileSize( const char* path ) 
     101long long ur_fileSize( const char* path ) 
    99102{ 
    100103    struct stat buf; 
  • trunk/thune/unix/os.h

    r19 r257  
    6161#endif 
    6262 
    63 extern int ur_fileSize( const char* path ); 
     63extern long long ur_fileSize( const char* path ); 
    6464extern void ur_installExceptionHandlers(); 
    6565