Revision: 12153
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=12153&view=rev
Author:   amaxwell
Date:     2007-12-31 10:17:51 -0800 (Mon, 31 Dec 2007)

Log Message:
-----------
use guard macro to avoid redefinition

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/OmniGroup/OmniBase/objc.h

Modified: trunk/bibdesk_vendorsrc/OmniGroup/OmniBase/objc.h
===================================================================
--- trunk/bibdesk_vendorsrc/OmniGroup/OmniBase/objc.h   2007-12-31 18:17:16 UTC 
(rev 12152)
+++ trunk/bibdesk_vendorsrc/OmniGroup/OmniBase/objc.h   2007-12-31 18:17:51 UTC 
(rev 12153)
@@ -17,8 +17,13 @@
 #if !defined(MAC_OS_X_VERSION_10_5) || MAC_OS_X_VERSION_MIN_REQUIRED < 
MAC_OS_X_VERSION_10_5
 
 // New types for Leopard; don't explode if they leak into the frameworks early
+#ifndef NSINTEGER_DEFINED
 typedef int NSInteger;
 typedef unsigned int NSUInteger;
+#define NSIntegerMax INT_MAX
+#define NSUIntegerMax UINT_MAX
+#define NSINTEGER_DEFINED 1
+#endif
 
 #import <OmniBase/assertions.h>
 #import <stdlib.h>


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to