From 1a172117070d793d73cdcad5b3efd75ef7dbc728 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 2 Jul 1997 15:45:09 -0300 Subject: [PATCH] auxliar support for "locale" (to avoid portability problems) --- lualoc.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 lualoc.h diff --git a/lualoc.h b/lualoc.h new file mode 100644 index 00000000..37993a31 --- /dev/null +++ b/lualoc.h @@ -0,0 +1,23 @@ +/* +** lualoc.h +** TecCGraf - PUC-Rio +** $Id: $ +*/ + +#ifndef lualoc_h +#define lualoc_h + +#ifndef OLD_ANSI +#include +#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