From: Simon Tatham Date: Sun, 6 May 2012 14:01:34 +0000 (+0000) Subject: GNUstep compatibility: comment out some API calls that GNUstep X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=3fbb23e3546c2ac68933c73f3a38388ffc34e33e;p=sgt-puzzles.git GNUstep compatibility: comment out some API calls that GNUstep apparently doesn't have. Fortunately they were optional anyway. [originally from svn r9500] --- 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