devdraw: restore compilation on OS X 10.6

Also add some ignored files to .hgignore

R=rsc
http://codereview.appspot.com/6842089
This commit is contained in:
Shenghou Ma 2012-11-25 21:20:18 -05:00 committed by Russ Cox
parent 9ca6e21f3d
commit 7b9ef735a8
3 changed files with 10 additions and 0 deletions

View file

@ -1408,9 +1408,11 @@ winsizepoints()
static NSSize
winsizepixels()
{
#if DOSX_VERSION >= 100700
if (OSX_VERSION >= 100700 && devdrawretina)
return [win.content convertSizeToBacking: winsizepoints()];
else
#endif
return winsizepoints();
}