shithub: sox

Download patch

ref: 252c1ccdeba74324f430337534a2ad421cc6382d
parent: b1e21e6428895debdbf1af9fe72321571b6d2f5f
author: rrt <rrt>
date: Thu Jul 19 07:05:13 EDT 2007

Avoid a warning with redefinition of NUMERIC_PARAMETER by undefining
it first, and put # in first column as it should be.

--- a/src/synth.c
+++ b/src/synth.c
@@ -344,7 +344,8 @@
     }
 
     /* read rest of parameters */
-    #define NUMERIC_PARAMETER(p, min, max) { \
+#undef NUMERIC_PARAMETER
+#define NUMERIC_PARAMETER(p, min, max) { \
       char * end_ptr; \
       double d = strtod(argv[argn], &end_ptr); \
       if (end_ptr == argv[argn]) \