plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 2860591b686df4ce24a1fc10793db983ce40a789
parent 513ce18d64037441e508f4b8e25d146eb799f84e
Author: Russ Cox <rsc@swtch.com>
Date:   Mon, 26 Sep 2011 09:27:55 -0700

use cocoa on snow leopard

R=rsc
http://codereview.appspot.com/5146043

Diffstat:
Msrc/cmd/devdraw/mkwsysrules.sh | 2+-
Asrc/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 @@ -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 @@ -0,0 +1,2 @@ +#include "snarfer.c" +