summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-05-08 16:40:45 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-05-08 16:40:45 +0000
commit5f8354856558a645fa8fddffe250ce81b8fb48d3 (patch)
tree9c370aff0c026c0bb6282e3d9ad3477fa54a75ad /src/utils.h
parentd0ad2e0bdb23789c261fe4d8636fb559f04c5f32 (diff)
downloadttf2f-5f8354856558a645fa8fddffe250ce81b8fb48d3.tar.gz
ttf2f-5f8354856558a645fa8fddffe250ce81b8fb48d3.tar.bz2
More tidying.
svn path=/trunk/tools/ttf2f/; revision=7447
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h4
1 files changed, 4 insertions, 0 deletions
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,