mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
auxliar support for "locale" (to avoid portability problems)
This commit is contained in:
parent
d56e3a6481
commit
1a17211707
1 changed files with 23 additions and 0 deletions
23
lualoc.h
Normal file
23
lualoc.h
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue