define NSApplicationDelegateReplySuccess.
(EmacsView -converstationIdentifier): Use long instead of
NSInteger for GNUStep, since it doesn't have NSInteger.
NSString *file;
while ((file = [files nextObject]) != nil)
[ns_pending_files addObject: file];
+
+#ifdef NS_IMPL_GNUSTEP
+ [self replyToOpenOrPrint: 0];
+#else
[self replyToOpenOrPrint: NSApplicationDelegateReplySuccess];
+#endif /* NS_IMPL_GNUSTEP */
+
}
/* TODO: these may help w/IO switching btwn terminal and NSApp */
return rect;
}
+#ifdef NS_IMPL_GNUSTEP
+- (long)conversationIdentifier
+{
+ return (long)self;
+}
+#else
- (NSInteger)conversationIdentifier
{
return (NSInteger)self;
}
+#endif
/* TODO: below here not yet implemented correctly, but may not be needed */