summaryrefslogtreecommitdiff
path: root/libicuuc/libicu/data/config.h
blob: 657b2cf445cbd6746d26bd522d025d6f965df8ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* file      : libicu/data/config.h -*- C -*-
 * license   : Unicode License; see accompanying LICENSE file
 */

#ifndef LIBICU_DATA_CONFIG_H
#define LIBICU_DATA_CONFIG_H

/*
 * Introduce the charset/endianness macro definitions. Also make sure there is
 * no the 'U_DISABLE_RENAMING redefined' warning for the upstream's
 * auto-generated files.
 */
#ifndef IN_GENERATED_CCODE
#  define IN_GENERATED_CCODE
#  define U_DISABLE_RENAMING 1
#  include "unicode/umachine.h"
#endif

/*
 * The only other possible charset is EBCDIC that may only appear on the
 * big-endian architectures and currently is not very common. Note that we can
 * add support for it, if requested (see README-DEV for details).
 */
#if U_CHARSET_FAMILY != U_ASCII_FAMILY
#  error EBCDIC charset is not supported
#endif

#endif /* LIBICU_DATA_CONFIG_H */