Ticket #3930: structtime.diff

File structtime.diff, 423 bytes (added by sbingner, 16 months ago)

Change name of members in struct time for APPLE compilation

  • lib/global.h

    diff -ur mc-4.8.21/lib/global.h mc-4.8.21+iPhone/lib/global.h
    old new  
    2424/* for O_* macros */ 
    2525#include <fcntl.h> 
    2626 
     27#ifdef __APPLE__ 
     28#define st_atim st_atimespec 
     29#define st_ctim st_ctimespec 
     30#define st_mtim st_mtimespec 
     31#endif 
     32 
    2733/* for sig_atomic_t */ 
    2834#include <signal.h> 
    2935