Macintoshes and Windows.
g_inq_context.c: Add INTERFACE keyword for Windows.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7561
dc483132-0cff-0310-8789-
dd5450dbe970
Tue Feb 27 18:44:51 1996 Theodore Y. Ts'o <tytso@dcl>
+ * g_initialize.c (gss_initialize): Don't fprintf to stderr on
+ Macintoshes and Windows.
+
+ * g_inq_context.c: Add INTERFACE keyword for Windows.
+
* oid_ops.c: Protect include of unistd.h with HAVE_UNISTD_H
Sun Feb 25 15:39:08 1996 Mark W. Eichin <eichin@cygnus.com>
#endif /* USE_SOLARIS_SHARED_LIBRARIES */
+#if !defined(_MSDOS) && !defined(_MACINTOSH)
if (__gss_mechs_array == NULL) { /* this is very bad! */
fprintf(stderr,"gss_initialize fatal error: no mechanisms loaded!\n");
exit(-1);
}
+#else
+ /*
+ * Nothing for now, since this should never happen using static
+ * mechanism loading.
+ */
+#endif
return;
}
#endif
/* Last argument new for V2 */
-OM_uint32 gss_inquire_context(
+OM_uint32 INTERFACE
+gss_inquire_context(
minor_status,
context_handle,
src_name,