+Sat Feb 22 00:49:37 1997 Sam Hartman <hartmans@tertius.mit.edu>
+
+ * krb.h: Do not depend on unix being defined on Unix systems;
+ treat as the default case except when _WINDOWS defined
+
Thu Feb 20 17:38:23 1997 Richard Basch <basch@lehman.com>
* configure.in: awk is required by the Makefile
#define KOPT_DO_OLDSTYLE 0x00000008 /* use the old-style protocol */
#endif /* ATHENA_COMPAT */
-#ifdef unix
+
+#ifdef _WINDOWS
+#define TIME_GMT_UNIXSEC win_time_gmt_unixsec((unsigned KRB4_32 *)0)
+#define TIME_GMT_UNIXSEC_US(us) win_time_gmt_unixsec((us))
+#define CONVERT_TIME_EPOCH win_time_get_epoch()
+#else
/* until we do V4 compat under DOS, just turn this off */
#define _fmemcpy memcpy
#define _fstrncpy strncpy
#define TIME_GMT_UNIXSEC unix_time_gmt_unixsec((unsigned KRB4_32 *)0)
#define TIME_GMT_UNIXSEC_US(us) unix_time_gmt_unixsec((us))
#define CONVERT_TIME_EPOCH ((long)0) /* Unix epoch is Krb epoch */
-#endif
+#endif /*_WINDOWS*/
-#ifdef _WINDOWS
-#define TIME_GMT_UNIXSEC win_time_gmt_unixsec((unsigned KRB4_32 *)0)
-#define TIME_GMT_UNIXSEC_US(us) win_time_gmt_unixsec((us))
-#define CONVERT_TIME_EPOCH win_time_get_epoch()
-#endif
/* Define u_char, u_short, u_int, and u_long. */
#include <sys/types.h>