diff options
author | Shenghou Ma <minux.ma@gmail.com> | 2012-11-25 21:20:18 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2012-11-25 21:20:18 -0500 |
commit | 7b9ef735a8d1fddf3887853abbd065271fa9c293 (patch) | |
tree | 5bae2b05784702eeabe8f67a1396f0e73eb67f16 /src | |
parent | 9ca6e21f3d0ea9b9bab8b4661d03d30ed61fd79d (diff) | |
download | plan9port-7b9ef735a8d1fddf3887853abbd065271fa9c293.tar.gz plan9port-7b9ef735a8d1fddf3887853abbd065271fa9c293.tar.bz2 plan9port-7b9ef735a8d1fddf3887853abbd065271fa9c293.zip |
devdraw: restore compilation on OS X 10.6
Also add some ignored files to .hgignore
R=rsc
http://codereview.appspot.com/6842089
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/devdraw/cocoa-screen.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/devdraw/cocoa-screen.m b/src/cmd/devdraw/cocoa-screen.m index bceb7e3f..24baca1f 100644 --- a/src/cmd/devdraw/cocoa-screen.m +++ b/src/cmd/devdraw/cocoa-screen.m @@ -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(); } |