summaryrefslogtreecommitdiff
path: root/system/gcc/331-gccgo-use-real-off_t-type.patch
blob: c652dd448d8e88c7a159b76c15ec559ca215933e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- gcc-13.3.0/libgo/sysinfo.c.old	2024-05-22 20:29:51.727156372 -0500
+++ gcc-13.3.0/libgo/sysinfo.c	2024-05-22 20:35:39.499799256 -0500
@@ -363,6 +363,8 @@
 // loff_t can be defined as a macro; for -fgo-dump-spec make sure we
 // see a typedef.
 typedef loff_t libgo_loff_t_type;
+#else
+typedef off_t libgo_loff_t_type;
 #endif
 
 #if defined(HAVE_OFF64_T)