If we're going to mess with defining FLOAT on the command line (done for alpha from before), we should also define FLOAT_MAX. Pull in <float.h> in libmp3lib/machine.h, so that DBL_MAX is available for that purpose.
12 lines
330 B
Text
12 lines
330 B
Text
$NetBSD: patch-ad,v 1.1 2004/03/27 17:33:28 he Exp $
|
|
|
|
--- libmp3lame/machine.h.orig 2004-03-27 18:23:04.000000000 +0100
|
|
+++ libmp3lame/machine.h
|
|
@@ -113,6 +113,7 @@ char *strchr (), *strrchr ();
|
|
# include <float.h>
|
|
# define FLOAT_MAX FLT_MAX
|
|
#else
|
|
+# include <float.h>
|
|
# ifndef FLOAT
|
|
typedef float FLOAT;
|
|
# ifdef FLT_MAX
|