8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / lib / libshell / common / features / locale
blobee9bcae6feccf2b62d9348e5b31c09b9ea94abbc
1 hdr     locale,wchar
2 lib     locale,localeconv,wctype,iswctype,iswblank
3 cat{
4         #if _PACKAGE_ast
5         #   undef  _hdr_locale
6         #   define _hdr_locale 1
7         #else
8         #   ifdef _hdr_locale
9         #       include <locale.h>
10         #       ifndef LC_MESSAGES
11         #           define LC_MESSAGES  LC_ALL
12         #       endif /* LC_MESSAGES */
13         #   endif /* _hdr_locale */
14         #endif /* _PACKAGE_ast */
15         #ifdef _hdr_locale
16         #   ifdef _lib_localeconv
17                 static struct lconv *lp;
18         #       define GETDECIMAL(x)  (((lp=localeconv()) && lp->decimal_point && *lp->decimal_point) ?  *lp->decimal_point : '.' )
19         #   else
20         #       define GETDECIMAL(x)    ('.')
21         #   endif /* _lib_localeconv */
22         #else
23         #   define GETDECIMAL(x)        ('.')
24         #endif /* _hdr_locale */
25 }end