Module Name: xsrc
Committed By: macallan
Date: Thu Feb 7 13:30:48 UTC 2013
Modified Files:
xsrc/external/mit/pixman/dist/pixman: pixman-ppc.c
Log Message:
enable altivec detection via sysctl(machdep.altivec)
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
xsrc/external/mit/pixman/dist/pixman/pixman-ppc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/pixman/dist/pixman/pixman-ppc.c
diff -u xsrc/external/mit/pixman/dist/pixman/pixman-ppc.c:1.1.1.1 xsrc/external/mit/pixman/dist/pixman/pixman-ppc.c:1.2
--- xsrc/external/mit/pixman/dist/pixman/pixman-ppc.c:1.1.1.1 Thu Jan 31 10:28:48 2013
+++ xsrc/external/mit/pixman/dist/pixman/pixman-ppc.c Thu Feb 7 13:30:48 2013
@@ -48,7 +48,7 @@ pixman_have_vmx (void)
return have_vmx;
}
-#elif defined (__OpenBSD__)
+#elif defined (__OpenBSD__) || defined(__NetBSD__)
#include <sys/param.h>
#include <sys/sysctl.h>
#include <machine/cpu.h>