Define LUA_STRFTIMEOPTIONS so that the conversion specifications of the Lua

os.date() function match the conversion specifications of the underlying
strftime() function.
This commit is contained in:
mbalmer 2016-09-10 09:29:13 +00:00
parent 54e7c45402
commit 1c38c58ca4
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: luaconf.h,v 1.17 2016/09/08 02:21:31 salazar Exp $ */
/* $NetBSD: luaconf.h,v 1.18 2016/09/10 09:29:13 mbalmer Exp $ */
/*
** Id: luaconf.h,v 1.255 2016/05/01 20:06:09 roberto Exp
@ -770,6 +770,8 @@
#ifdef __NetBSD__
#define LUA_STRFTIMEOPTIONS "aAbBcCdDeFgGhHIjklmMnprRsStTuUvVwWxXyYzZi%"
/* Integer types */
#undef LUA_INTEGER
#undef LUA_INTEGER_FRMLEN