blob: 327084bae959d6525b427a372ace244c0bd03471 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001From ad395dda5db9b1ae156be121cfc8a38960de6c55 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
Brad Bishop19323692019-04-05 15:28:33 -040015--- a/src/test/test-sizeof.c
16+++ b/src/test/test-sizeof.c
Andrew Geisslerd1e89492021-02-12 15:35:20 -060017@@ -55,8 +55,10 @@ int main(void) {
Brad Bishop19323692019-04-05 15:28:33 -040018 info(unsigned);
19 info(long unsigned);
20 info(long long unsigned);
21+#ifdef __GLIBC__
22 info(__syscall_ulong_t);
23 info(__syscall_slong_t);
24+#endif
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000025 info(intmax_t);
26 info(uintmax_t);
Brad Bishop19323692019-04-05 15:28:33 -040027
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000028@@ -76,7 +78,9 @@ int main(void) {
Brad Bishop19323692019-04-05 15:28:33 -040029 info(ssize_t);
30 info(time_t);
31 info(usec_t);
32+#ifdef __GLIBC__
33 info(__time_t);
34+#endif
35 info(pid_t);
36 info(uid_t);
37 info(gid_t);