summarylogtreecommitdiffstats
path: root/0121-Add-return-0-to-the-test-code.patch
blob: 662a846d461cf9b0d17926aeff284310aaa8bff0 (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
From b63a2139c30c268fdc763abae966f527b9a7d798 Mon Sep 17 00:00:00 2001
From: Long Nguyen <nguyen.long.908132@gmail.com>
Date: Fri, 30 Jul 2021 10:31:55 +0700
Subject: [PATCH 121/N] Add return 0 to the test code

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index ae9b1d8..14eb4b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5151,7 +5151,7 @@ case $host in
     #ifndef _UCRT
         #error no ucrt
     #endif
-    int main(){}
+    int main(){ return 0; }
     ]])],[linking_to_ucrt=yes],[linking_to_ucrt=no])
     AC_MSG_RESULT($linking_to_ucrt)
     ;;
-- 
2.32.0