summaryrefslogtreecommitdiff
path: root/ext/rbconfig/sizeof/extconf.rb
blob: 66f7d776305461660425eb3d5e2e62e2bd95ee1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$srcs = %w[sizes.c]
$distcleanfiles.concat($srcs)
check_sizeof('int8_t')
check_sizeof('int16_t')
check_sizeof('int32_t')
check_sizeof('int64_t')
check_sizeof('int_least8_t')
check_sizeof('int_least16_t')
check_sizeof('int_least32_t')
check_sizeof('int_least64_t')
check_sizeof('int_fast8_t')
check_sizeof('int_fast16_t')
check_sizeof('int_fast32_t')
check_sizeof('int_fast64_t')
check_sizeof('intptr_t')
check_sizeof('intmax_t')
check_sizeof('sig_atomic_t', %w[signal.h])
check_sizeof('wchar_t')
check_sizeof('wint_t', %w[wctype.h])
check_sizeof('wctrans_t', %w[wctype.h])
check_sizeof('wctype_t', %w[wctype.h])
check_sizeof('__int128')
create_makefile('rbconfig/sizeof')