diff options
author | Russ Cox <rsc@swtch.com> | 2011-09-26 09:27:55 -0700 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2011-09-26 09:27:55 -0700 |
commit | 2860591b686df4ce24a1fc10793db983ce40a789 (patch) | |
tree | e4f793374c4493c93f0ce480d3a1833c44904f44 /src | |
parent | 513ce18d64037441e508f4b8e25d146eb799f84e (diff) | |
download | plan9port-2860591b686df4ce24a1fc10793db983ce40a789.tar.gz plan9port-2860591b686df4ce24a1fc10793db983ce40a789.tar.bz2 plan9port-2860591b686df4ce24a1fc10793db983ce40a789.zip |
use cocoa on snow leopard
R=rsc
http://codereview.appspot.com/5146043
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/devdraw/mkwsysrules.sh | 2 | ||||
-rw-r--r-- | src/cmd/snarfer/osx-cocoa-snarfer.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/devdraw/mkwsysrules.sh b/src/cmd/devdraw/mkwsysrules.sh index 4e587164..83bfe3be 100644 --- 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 new file mode 100644 index 00000000..20f5b6ad --- /dev/null +++ b/src/cmd/snarfer/osx-cocoa-snarfer.c @@ -0,0 +1,2 @@ +#include "snarfer.c" + |