From 9072e81a2d4e982f5c227b4c68db3bc401763e3d Mon Sep 17 00:00:00 2001 From: "D. Bohdan" Date: Sun, 4 Jun 2023 21:02:17 +0000 Subject: [PATCH] ckAppInit: remove Sun hack blocking glibc build From matherr(3): > Note: the mechanism described in this page is no longer supported > by glibc. Before glibc 2.27, it had been marked as obsolete. > Since glibc 2.27, the mechanism has been removed > altogether. [...] --- ckAppInit.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ckAppInit.c b/ckAppInit.c index 35d73cc..b75874a 100644 --- a/ckAppInit.c +++ b/ckAppInit.c @@ -1,4 +1,4 @@ -/* +/* * ckAppInit.c -- * * Provides a default version of the Tcl_AppInit procedure for @@ -14,15 +14,6 @@ #include "ck.h" -/* - * The following variable is a special hack that is needed in order for - * Sun shared libraries to be used for Tcl. - */ - -#ifndef __WIN32__ -extern int matherr(); -int *tclDummyMathPtr = (int *) matherr; -#endif /* *----------------------------------------------------------------------