From 8ec42be8a08004280c06057fc61854cf11a3c372 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Tue, 23 Sep 2025 23:53:25 +0100 Subject: [PATCH] Fix LTO build gstr[MAXCHAR] gets conflicting size when MAXCHAR has different values, and it's defined to 512 in one file, but to 1024 in another file --- src/define.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/define.h b/src/define.h index 1d4cfa5..df4be24 100644 --- a/src/define.h +++ b/src/define.h @@ -48,7 +48,7 @@ #define OUTPUT stdout /* where all msgs are sent */ #define BIG 1e+30 /* a huge number */ #define SMALL (1/BIG) /* A very small number */ -#define MAXCHAR 1024 /* max. number of characters */ +#define MAXCHAR 512 /* max. number of characters */ #ifndef PI #define PI 3.1415926535898 /* never met before? */ #endif