chiark / gitweb /
test/test-sizeof.c: disable tests for missing typedefs in musl
authormaxice8 <thinkabit.ukim@gmail.com>
Tue, 16 Jan 2018 11:08:15 +0000 (09:08 -0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 24 Jan 2018 12:22:41 +0000 (13:22 +0100)
src/test/test-sizeof.c

index bfc421e4ba5d609cec022d601c708ad749f8ccc5..cf122b674d710606a7a960d8e86bb5197a3f5df3 100644 (file)
@@ -48,8 +48,10 @@ int main(void) {
         info(unsigned);
         info(long unsigned);
         info(long long unsigned);
+#ifdef __GLIBC__
         info(__syscall_ulong_t);
         info(__syscall_slong_t);
+#endif // ifdef __GLIBC__
 
         info(float);
         info(double);
@@ -59,7 +61,9 @@ int main(void) {
         info(ssize_t);
         info(time_t);
         info(usec_t);
+#ifdef __GLIBC__
         info(__time_t);
+#endif // ifdef __GLIBC__
         info(pid_t);
         info(gid_t);