aboutsummaryrefslogtreecommitdiff
path: root/lualoc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-07-02 15:50:18 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-07-02 15:50:18 -0300
commit8f3df1d471d4b7e643492f0e65fac2bdc960398a (patch)
treef24a2b9f1738289c52d799837671e1c4e13039f1 /lualoc.h
parent1a172117070d793d73cdcad5b3efd75ef7dbc728 (diff)
downloadlua-8f3df1d471d4b7e643492f0e65fac2bdc960398a.tar.gz
lua-8f3df1d471d4b7e643492f0e65fac2bdc960398a.tar.bz2
lua-8f3df1d471d4b7e643492f0e65fac2bdc960398a.zip
small details.
Diffstat (limited to 'lualoc.h')
-rw-r--r--lualoc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lualoc.h b/lualoc.h
index 37993a31..957b08a5 100644
--- a/lualoc.h
+++ b/lualoc.h
@@ -1,15 +1,17 @@
1/* 1/*
2** lualoc.h 2** lualoc.h
3** TecCGraf - PUC-Rio 3** TecCGraf - PUC-Rio
4** $Id: $ 4** $Id: lualoc.h,v 1.1 1997/07/02 18:45:09 roberto Exp roberto $
5*/ 5*/
6 6
7#ifndef lualoc_h 7#ifndef lualoc_h
8#define lualoc_h 8#define lualoc_h
9 9
10
10#ifndef OLD_ANSI 11#ifndef OLD_ANSI
11#include <locale.h> 12#include <locale.h>
12#else 13#else
14
13#define strcoll(a,b) strcmp(a,b) 15#define strcoll(a,b) strcmp(a,b)
14#define setlocale(a,b) 0 16#define setlocale(a,b) 0
15#define LC_ALL 0 17#define LC_ALL 0
@@ -18,6 +20,9 @@
18#define LC_MONETARY 0 20#define LC_MONETARY 0
19#define LC_NUMERIC 0 21#define LC_NUMERIC 0
20#define LC_TIME 0 22#define LC_TIME 0
23
24#define strerror(e) "O.S. is unable to define the error"
25
21#endif 26#endif
22 27
23#endif 28#endif