20 lines
408 B
Diff
20 lines
408 B
Diff
|
--- src/fcfreetype.c
|
||
|
+++ src/fcfreetype.c
|
||
|
@@ -74,6 +74,16 @@
|
||
|
#warning "No FT_Get_Font_Info"
|
||
|
#endif
|
||
|
|
||
|
+#ifndef MAX
|
||
|
+#define MAX(a,b) ((a) > (b) ? (a) : (b))
|
||
|
+#endif
|
||
|
+#ifndef MIN
|
||
|
+#define MIN(a,b) ((a) < (b) ? (a) : (b))
|
||
|
+#endif
|
||
|
+#ifndef ABS
|
||
|
+#define ABS(a) ((a) >= 0 ? (a) : -(a))
|
||
|
+#endif
|
||
|
+
|
||
|
/*
|
||
|
* Keep Han languages separated by eliminating languages
|
||
|
* that the codePageRange bits says aren't supported
|