diff options
Diffstat (limited to 'Build/source/libs/icu-xetex/common/umath.c')
-rw-r--r-- | Build/source/libs/icu-xetex/common/umath.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Build/source/libs/icu-xetex/common/umath.c b/Build/source/libs/icu-xetex/common/umath.c new file mode 100644 index 00000000000..4a571143168 --- /dev/null +++ b/Build/source/libs/icu-xetex/common/umath.c @@ -0,0 +1,24 @@ +/* +****************************************************************************** +* +* Copyright (C) 1997-2006, International Business Machines +* Corporation and others. All Rights Reserved. +* +****************************************************************************** +* This file contains platform independent math. +*/ + +#include "putilimp.h" + +U_CAPI int32_t U_EXPORT2 +uprv_max(int32_t x, int32_t y) +{ + return (x > y ? x : y); +} + +U_CAPI int32_t U_EXPORT2 +uprv_min(int32_t x, int32_t y) +{ + return (x > y ? y : x); +} + |