lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 1a172117070d793d73cdcad5b3efd75ef7dbc728
parent d56e3a64817fec16b8bcb779515d87ebaed1fcdf
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed,  2 Jul 1997 15:44:48 -0300

auxliar support for "locale" (to avoid portability problems)

Diffstat:
Alualoc.h | 23+++++++++++++++++++++++
1 file changed, 23 insertions(+), 0 deletions(-)

diff --git a/lualoc.h b/lualoc.h @@ -0,0 +1,23 @@ +/* +** lualoc.h +** TecCGraf - PUC-Rio +** $Id: $ +*/ + +#ifndef lualoc_h +#define lualoc_h + +#ifndef OLD_ANSI +#include <locale.h> +#else +#define strcoll(a,b) strcmp(a,b) +#define setlocale(a,b) 0 +#define LC_ALL 0 +#define LC_COLLATE 0 +#define LC_CTYPE 0 +#define LC_MONETARY 0 +#define LC_NUMERIC 0 +#define LC_TIME 0 +#endif + +#endif