diff --git a/src/wxxt/src/XWidgets/xwCommonP.h b/src/wxxt/src/XWidgets/xwCommonP.h index ee14bd91bd..cad2d7eb24 100644 --- a/src/wxxt/src/XWidgets/xwCommonP.h +++ b/src/wxxt/src/XWidgets/xwCommonP.h @@ -6,11 +6,12 @@ #include #include <./xwCommon.h> _XFUNCPROTOBEGIN +#ifndef max #define max(a, b) ((a )>(b )?(a ):(b )) - - +#endif +#ifndef min #define min(a, b) ((a )<(b )?(a ):(b )) - +#endif typedef void (*compute_inside_Proc)( #if NeedFunctionPrototypes