GNUstep compatibility: comment out some API calls that GNUstep
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 6 May 2012 14:01:34 +0000 (14:01 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 6 May 2012 14:01:34 +0000 (14:01 +0000)
apparently doesn't have. Fortunately they were optional anyway.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9500 cda61777-01e9-0310-a592-d414129be87e

osx.m

diff --git a/osx.m b/osx.m
index afbf6b2..a0b7059 100644 (file)
--- 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