tuse cocoa on snow leopard - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 2860591b686df4ce24a1fc10793db983ce40a789 | |
parent 513ce18d64037441e508f4b8e25d146eb799f84e | |
Author: Russ Cox | |
Date: Mon, 26 Sep 2011 09:27:55 -0700 use cocoa on snow leopard R=rsc http://codereview.appspot.com/5146043 Diffstat: M src/cmd/devdraw/mkwsysrules.sh | 2 +- A src/cmd/snarfer/osx-cocoa-snarfer.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) --- | |
diff --git a/src/cmd/devdraw/mkwsysrules.sh b/src/cmd/devdraw/mkwsysrules.sh | |
t@@ -22,7 +22,7 @@ fi if [ "x$WSYSTYPE" = "x" ]; then if [ "x`uname`" = "xDarwin" ]; then - if sw_vers | grep 'ProductVersion: 10\.[0-6]\.' >/dev/null; then + if sw_vers | grep 'ProductVersion: 10\.[0-5]\.' >/dev/null; then WSYSTYPE=osx else echo 1>&2 'WARNING: OS X Lion is not working. Copy binaries from a Snow Leopard system.' | |
diff --git a/src/cmd/snarfer/osx-cocoa-snarfer.c b/src/cmd/snarfer/osx-cocoa-snarfer.c | |
t@@ -0,0 +1,2 @@ +#include "snarfer.c" + |