This commit is contained in:
Russ Cox 2009-04-30 08:01:33 -07:00
commit d439750308
3 changed files with 16 additions and 2 deletions

7
src/cmd/9pfuse/osxvers Executable file
View 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