ReactOS 0.4.15-dev-7846-g8ba6c66
locale.h
Go to the documentation of this file.
1/* @(#)locale.h 1.2 09/05/24 Copyright 2009 J. Schilling */
2/*
3 * Copyright (c) 2009 J. Schilling
4 */
5/*
6 * The contents of this file are subject to the terms of the
7 * Common Development and Distribution License, Version 1.0 only
8 * (the "License"). You may not use this file except in compliance
9 * with the License.
10 *
11 * See the file CDDL.Schily.txt in this distribution for details.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file CDDL.Schily.txt from this distribution.
15 */
16
17#ifndef _SCHILY_LOCALE_H
18#define _SCHILY_LOCALE_H
19
20#ifndef _SCHILY_MCONFIG_H
21#include <schily/mconfig.h>
22#endif
23
24#ifdef HAVE_LOCALE_H
25#ifndef _INCL_LOCALE_H
26#include <locale.h> /* LC_* definitions */
27#define _INCL_LOCALE_H
28#endif
29#ifndef USE_LOCALE
30#define USE_LOCALE
31#endif
32#else
33#undef USE_LOCALE
34#endif
35
36#ifndef HAVE_SETLOCALE
37#undef USE_LOCALE
38#endif
39
40#ifdef NO_LOCALE
41#undef USE_LOCALE
42#endif
43
44#ifndef USE_LOCALE
45#undef setlocale
46#define setlocale(n, s) ((void *)0)
47#endif
48
49
50#endif /* _SCHILY_LOCALE_H */