blob: 7e4587cc2345692f3f50bdfea9347e3bec2764a2 [file] [log] [blame]
Andrew Geisslerd5838332022-05-27 11:33:10 -05001From e8025c8eefdf1be4bba34c48f3430838f3859c52 Mon Sep 17 00:00:00 2001
Brad Bishop19323692019-04-05 15:28:33 -04002From: Chen Qi <Qi.Chen@windriver.com>
3Date: Wed, 28 Feb 2018 21:25:22 -0800
William A. Kennington IIIac69b482021-06-02 12:28:27 -07004Subject: [PATCH] test-sizeof.c: Disable tests for missing typedefs in musl
Brad Bishop19323692019-04-05 15:28:33 -04005
6Upstream-Status: Inappropriate [musl specific]
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
William A. Kennington IIIac69b482021-06-02 12:28:27 -070010
Brad Bishop19323692019-04-05 15:28:33 -040011---
12 src/test/test-sizeof.c | 4 ++++
13 1 file changed, 4 insertions(+)
14
Andrew Geisslerd5838332022-05-27 11:33:10 -050015diff --git a/src/test/test-sizeof.c b/src/test/test-sizeof.c
16index f349852553..602772227e 100644
Brad Bishop19323692019-04-05 15:28:33 -040017--- a/src/test/test-sizeof.c
18+++ b/src/test/test-sizeof.c
Andrew Geisslerd1e89492021-02-12 15:35:20 -060019@@ -55,8 +55,10 @@ int main(void) {
Brad Bishop19323692019-04-05 15:28:33 -040020 info(unsigned);
21 info(long unsigned);
22 info(long long unsigned);
23+#ifdef __GLIBC__
24 info(__syscall_ulong_t);
25 info(__syscall_slong_t);
26+#endif
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000027 info(intmax_t);
28 info(uintmax_t);
Brad Bishop19323692019-04-05 15:28:33 -040029
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000030@@ -76,7 +78,9 @@ int main(void) {
Brad Bishop19323692019-04-05 15:28:33 -040031 info(ssize_t);
32 info(time_t);
33 info(usec_t);
34+#ifdef __GLIBC__
35 info(__time_t);
36+#endif
37 info(pid_t);
38 info(uid_t);
39 info(gid_t);