devdraw: update Lion cocoa
R=rsc CC=plan9port.codebot http://codereview.appspot.com/5015042
This commit is contained in:
parent
53000799be
commit
48107872ba
8 changed files with 627 additions and 430 deletions
7
bin/osxvers
Executable file
7
bin/osxvers
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
u=`uname`
|
||||
case "$u" in
|
||||
Darwin)
|
||||
sw_vers | awk '$1 == "ProductVersion:" {print $2}' | awk -F. '{printf("CFLAGS=$CFLAGS -DOSX_VERSION=%d%02d%02d\n", $1, $2, $3)}'
|
||||
esac
|
||||
Loading…
Add table
Add a link
Reference in a new issue