Ticket #55816: lua-5.2.4.macosx10.4.11.patch

File lua-5.2.4.macosx10.4.11.patch, 371 bytes (added by miniupnp (Thomas BERNARD), 4 years ago)

Patch to fix build problem of lua52

  • src/liolib.c

    diff -ru lua-5.2.4-orig/src/liolib.c lua-5.2.4/src/liolib.c
    old new  
    8888
    8989#if defined(LUA_USE_POSIX)      /* { */
    9090
     91#include <sys/types.h>
     92
    9193#define l_fseek(f,o,w)          fseeko(f,o,w)
    9294#define l_ftell(f)              ftello(f)
    9395#define l_seeknum               off_t