Use built-in definition of INFINITY
diff --git a/transform_util.c b/transform_util.c
index 04be323..bcc1a3e 100644
--- a/transform_util.c
+++ b/transform_util.c
@@ -12,7 +12,6 @@
 #endif
 
 #define PARAMETRIC_CURVE_TYPE 0x70617261 //'para'
-#define QCMS_NEGATIVE_INFINITY (-1.f/0.f)
 
 /* value must be a value between 0 and 1 */
 //XXX: is the above a good restriction to have?
@@ -128,7 +127,7 @@
                 c = 0;
                 e = 0;
                 f = 0;
-                interval = QCMS_NEGATIVE_INFINITY;
+                interval = -INFINITY;
         } else if(count == 1) {
                 a = parameter[1];
                 b = parameter[2];