summaryrefslogtreecommitdiff
path: root/fonts/fontconfig/patches/patch-ae
blob: 4e88d1647b03a8819bd56348f36fe572bc7fd34a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-ae,v 1.8 2007/11/30 22:31:17 wiz Exp $

--- src/fcint.h.orig	2007-11-13 23:23:39.000000000 +0000
+++ src/fcint.h
@@ -35,6 +35,21 @@
 #include <inttypes.h>
 #elif defined(HAVE_STDINT_H)
 #include <stdint.h>
+#elif defined(__INTERIX)
+
+/* limits.h has a definition for ALIGN() that conflicts with the one below */
+#  include <limits.h>
+#  undef ALIGN
+/* Interix 3.x has a gcc that shadows this. */
+#  ifndef _INTPTR_T_DEFINED
+     typedef long intptr_t;
+#  define _INTPTR_T_DEFINED
+#  endif
+#  ifndef _UINTPTR_T_DEFINED
+     typedef unsigned long uintptr_t;
+#  define _UINTPTR_T_DEFINED
+#  endif
+
 #else
 #error missing C99 integer data types
 #endif