diff options
Diffstat (limited to 'ham/linpsk/patches/patch-ah')
-rw-r--r-- | ham/linpsk/patches/patch-ah | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/ham/linpsk/patches/patch-ah b/ham/linpsk/patches/patch-ah deleted file mode 100644 index 5a23b4cbe01..00000000000 --- a/ham/linpsk/patches/patch-ah +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-ah,v 1.1 2005/03/16 15:32:12 rillig Exp $ - -g++-2.95.3 does not know the min() and max() macros/functions. - ---- src/rtty2demodulator.cpp.orig Sun Jul 4 17:50:45 2004 -+++ src/rtty2demodulator.cpp Wed Mar 16 03:34:16 2005 -@@ -149,8 +149,8 @@ while ( actSample < NxSamples ) - { - j=(ThresholdPointer+i)%SampleBufferLength; - float x=ThresholdBuffer[j]; -- xmax=max(xmax,x); -- xmin=min(xmin,x); -+ xmax= xmax > x ? xmax : x; -+ xmin= xmin < x ? xmin : x; - } - DiscriminatorThreshold=(xmax+xmin)/2.; - |