diff src/nsterm.h @ 97278:2e16fead73d6

Test directly for NS_HAVE_INTEGER before defining it.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 04 Aug 2008 21:59:02 +0000
parents eed9154c9cad
children 76ed169d532c
line wrap: on
line diff
--- a/src/nsterm.h	Mon Aug 04 21:58:51 2008 +0000
+++ b/src/nsterm.h	Mon Aug 04 21:59:02 2008 +0000
@@ -364,10 +364,10 @@
 @end
 #endif
 
-#if defined (NS_IMPL_GNUSTEP) || ( defined (NS_IMPL_COCOA) && MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4)
+#ifndef NS_HAVE_INTEGER
 typedef long NSInteger;
 typedef unsigned long NSUInteger;
-#endif /* NS_IMPL_GNUSTEP || (NS_IMPL_COCOA and <= 10.4) */
+#endif /* not NS_HAVE_INTEGER */
 
 #endif  /* __OBJC__ */