summaryrefslogtreecommitdiff
path: root/multimedia/mjpegtools/patches/patch-ab
blob: a6966ddc9f1f4689e6a252da22aecd864d113c49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.6 2006/06/21 18:29:18 drochner Exp $

--- utils/cpu_accel.c.orig	2006-06-21 20:18:47.000000000 +0200
+++ utils/cpu_accel.c
@@ -117,7 +117,7 @@ static int x86_accel (void)
 	/* Slightly weirdified cpuid that preserves the ebx and edi required
 	   by gcc for PIC offset table and frame pointer */
 
-#ifdef __LP64__
+#if defined(__LP64__) || defined(_LP64)
 #  define REG_b "rbx"
 #  define REG_S "rsi"
 #else