Revision 44e4c0ba cocoa.m

b/cocoa.m
28 28
#include "console.h"
29 29
#include "sysemu.h"
30 30

  
31
#ifndef MAC_OS_X_VERSION_10_5
32
#define MAC_OS_X_VERSION_10_5 1050
33
#endif
34

  
31 35

  
32 36
//#define DEBUG
33 37

  
......
337 341
        } else {
338 342
            // selective drawing code (draws only dirty rectangles) (OS X >= 10.4)
339 343
            const NSRect *rectList;
344
#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)
345
            NSInteger rectCount;
346
#else
340 347
            int rectCount;
348
#endif
341 349
            int i;
342 350
            CGImageRef clipImageRef;
343 351
            CGRect clipRect;

Also available in: Unified diff