summaryrefslogtreecommitdiffhomepage
path: root/contrib/Opcode/Ice
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/Opcode/Ice')
-rw-r--r--contrib/Opcode/Ice/IceFPU.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/Opcode/Ice/IceFPU.h b/contrib/Opcode/Ice/IceFPU.h
index c05fd44..7d36aa4 100644
--- a/contrib/Opcode/Ice/IceFPU.h
+++ b/contrib/Opcode/Ice/IceFPU.h
@@ -175,25 +175,25 @@
//! A global function to find MAX(a,b) using FCOMI/FCMOV
inline_ float FCMax2(float a, float b)
{
- return std::max(a, b);
+ return (std::max)(a, b);
}
//! A global function to find MIN(a,b) using FCOMI/FCMOV
inline_ float FCMin2(float a, float b)
{
- return std::min(a, b);
+ return (std::min)(a, b);
}
//! A global function to find MAX(a,b,c) using FCOMI/FCMOV
inline_ float FCMax3(float a, float b, float c)
{
- return std::max(std::max(a, b), c);
+ return (std::max)((std::max)(a, b), c);
}
//! A global function to find MIN(a,b,c) using FCOMI/FCMOV
inline_ float FCMin3(float a, float b, float c)
{
- return std::min(std::min(a, b), c);
+ return (std::min)((std::min)(a, b), c);
}
inline_ int ConvertToSortable(float f)