diff data/model/IntervalModel.cpp @ 190:61681a2bc1e6

keep MIN and MAX compatibility (VC and linux compilation)
author lbajardsilogic
date Tue, 27 Nov 2007 13:26:04 +0000
parents a8dcc1ca82c4
children ff8187498612
line wrap: on
line diff
--- a/data/model/IntervalModel.cpp	Tue Nov 27 13:11:44 2007 +0000
+++ b/data/model/IntervalModel.cpp	Tue Nov 27 13:26:04 2007 +0000
@@ -197,8 +197,8 @@
 IntervalModel::changeInterval(TimeIntervalPtr ti, long start, long end, float value, const QString& label)
 {
 
-	long startMin = min(start, ti->start());
-	long endMax   = max(end, ti->end());
+	long startMin = MIN(start, ti->start());
+	long endMax   = MAX(end, ti->end());
 
 	{
 		QMutexLocker locker(&m_mutex);