use cocoa on snow leopard

R=rsc
http://codereview.appspot.com/5146043
This commit is contained in:
Russ Cox 2011-09-26 09:27:55 -07:00
parent 513ce18d64
commit 2860591b68
2 changed files with 3 additions and 1 deletions

View file

@ -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.'

View file

@ -0,0 +1,2 @@
#include "snarfer.c"