summaryrefslogtreecommitdiff
path: root/modules/unitypes
blob: 46ed80d8c83cfae0d099e0380b96cacd0df31117 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Description:
Base types for Unicode string functions.

Files:
lib/unitypes.in.h
m4/libunistring-base.m4

Depends-on:
stdint

configure.ac:
gl_LIBUNISTRING_LIBHEADER([0.9.11], [unitypes.h])

AH_VERBATIM([unitypes_restrict], [
/* This definition is a duplicate of the one in unitypes.h.
   It is here so that we can cope with an older version of unitypes.h
   that does not contain this definition and that is pre-installed among
   the public header files.  */
# if defined __restrict \
     || 2 < __GNUC__ + (95 <= __GNUC_MINOR__) \
     || __clang_major__ >= 3
#  define _UC_RESTRICT __restrict
# elif 199901L <= __STDC_VERSION__ || defined restrict
#  define _UC_RESTRICT restrict
# else
#  define _UC_RESTRICT
# endif
])

Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)

unitypes.h: unitypes.in.h
	$(AM_V_GEN)rm -f $@-t $@ && \
	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
	  cat $(srcdir)/unitypes.in.h; \
	} > $@-t && \
	mv -f $@-t $@
MOSTLYCLEANFILES += unitypes.h unitypes.h-t

Include:
"unitypes.h"

License:
LGPLv2+

Maintainer:
all