Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37634431
en ru br
ALT Linux repos
S:1.9.25-alt2.7
5.0: 1.9.25-alt2
4.1: 1.9.25-alt1
4.0: 1.9.25-alt1

Group :: System/Libraries
RPM: svgalib

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: svgalib-threeDKit-glibc.patch
Download


diff --git a/svgalib/threeDKit/quickmath.h b/svgalib/threeDKit/quickmath.h
index c14b1b2..2928564 100644
--- a/svgalib/threeDKit/quickmath.h
+++ b/svgalib/threeDKit/quickmath.h
@@ -60,7 +60,7 @@ typedef struct {
 #define max(x,y)     (((x) > (y)) ? (x) : (y))
 #define min(x,y)     (((x) < (y)) ? (x) : (y))
 
-#ifndef __GNUC__
+#ifndef _GNU_SOURCE
 
 double fsqr (double x);
 int lsqr (int x);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin