From 4720c7647c3e1a8c5cf29201ab3c715227649053 Mon Sep 17 00:00:00 2001 From: Jonathan Yong <10walls@gmail.com> Date: Tue, 8 Sep 2020 15:24:34 +0200 Subject: [PATCH 10/11] Cygwin: newlib ftm --- gcc/glimits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/glimits.h b/gcc/glimits.h index 3cd7cf64e63..3905d7bedd2 100644 --- a/gcc/glimits.h +++ b/gcc/glimits.h @@ -111,7 +111,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) #endif -#if defined (__GNU_LIBRARY__) ? defined (__USE_GNU) : !defined (__STRICT_ANSI__) +#if defined (__GNU_LIBRARY__) ? defined (__USE_GNU) : defined (__NEWLIB__) ? __GNU_VISIBLE : !defined (__STRICT_ANSI__) /* Minimum and maximum values a `signed long long int' can hold. */ # undef LONG_LONG_MIN # define LONG_LONG_MIN (-LONG_LONG_MAX - 1LL) -- 2.31.1