lua-users home
lua-l archive

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


> On OS X, strftime supports the %s format, resulting in the number of seconds
> since the epoch.
> 
> The attached small diff makes this usable on OS X using os.date('%s')

You can add those same lines at the end of your 'luaconf.h' file.

-- Roberto