From: simon Date: Sun, 6 May 2012 14:01:34 +0000 (+0000) Subject: GNUstep compatibility: comment out some API calls that GNUstep X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/f213222bce104de4495a3b731626649ff1c3f4c9 GNUstep compatibility: comment out some API calls that GNUstep apparently doesn't have. Fortunately they were optional anyway. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9500 cda61777-01e9-0310-a592-d414129be87e --- 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