From 5f8354856558a645fa8fddffe250ce81b8fb48d3 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 8 May 2009 16:40:45 +0000 Subject: More tidying. svn path=/trunk/tools/ttf2f/; revision=7447 --- src/utils.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index 09d348e..b577a6d 100644 --- a/src/utils.h +++ b/src/utils.h @@ -11,6 +11,10 @@ #define DIR_SEP "/" #endif +#ifndef max +#define max(a,b) (((a) > (b)) ? (a) : (b)) +#endif + typedef enum ttf2f_result { TTF2F_RESULT_OK, TTF2F_RESULT_NOMEM, -- cgit v1.2.3