summaryrefslogtreecommitdiff
path: root/graphics/MesaLib/patches/patch-am
blob: 32e255ff197d1874e02fe514f7a304538eab3120 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-am,v 1.3 2006/07/06 12:27:43 markd Exp $

--- include/GL/glxext.h.orig	2005-11-08 10:20:29.000000000 +1300
+++ include/GL/glxext.h
@@ -334,7 +334,7 @@ typedef struct {
 #if defined(__sun__)
 #include <inttypes.h>
 #if defined(__STDC__)
-#if defined(__arch64__)
+#if defined(__arch64__) || defined(_LP64)
 typedef long int int64_t;
 #else
 typedef long long int int64_t;