aboutsummaryrefslogtreecommitdiff
path: root/osx.m
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2012-05-06 14:01:34 +0000
committerSimon Tatham <anakin@pobox.com>2012-05-06 14:01:34 +0000
commit3fbb23e3546c2ac68933c73f3a38388ffc34e33e (patch)
tree87ffe2c1ce3bfec8d6af6302c63eb8f9f9a6b9e6 /osx.m
parent41dc4a21957d0f4208a6c726543487814f21f33b (diff)
downloadpuzzles-3fbb23e3546c2ac68933c73f3a38388ffc34e33e.zip
puzzles-3fbb23e3546c2ac68933c73f3a38388ffc34e33e.tar.gz
puzzles-3fbb23e3546c2ac68933c73f3a38388ffc34e33e.tar.bz2
puzzles-3fbb23e3546c2ac68933c73f3a38388ffc34e33e.tar.xz
GNUstep compatibility: comment out some API calls that GNUstep
apparently doesn't have. Fortunately they were optional anyway. [originally from svn r9500]
Diffstat (limited to 'osx.m')
-rw-r--r--osx.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/osx.m b/osx.m
index afbf6b2..a0b7059 100644
--- a/osx.m
+++ b/osx.m
@@ -900,10 +900,14 @@ struct frontend {
[status setFrame:frame];
}
+#ifndef GNUSTEP
NSDisableScreenUpdates();
+#endif
[self setContentSize:size];
[self setupContentView];
+#ifndef GNUSTEP
NSEnableScreenUpdates();
+#endif
}
- (void)presetGame:(id)sender