lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Luiz Henrique de Figueiredo wrote:
Or you could simply add this at the end of luaconf.h:

#ifdef lvm_c
#define strcoll strcmp
#endif

You could also avoid the 'fprintf' in panic with a similar patch:

#ifdef lauxlib_c
#define fprintf(f,a,b) myfunction(a,b)
#endif

You're right, I didn't notice the #define in the .c files!

  Enrico