From: Theodore Tso Date: Fri, 29 Sep 1995 06:04:19 +0000 (+0000) Subject: For MS-DOS, use the brute force method of defining the size of X-Git-Tag: krb5-1.0-beta6~974 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a4cbc6eba3d3eed513b99e51e33b4cbf8f1aadf6;p=krb5.git For MS-DOS, use the brute force method of defining the size of variables; we should really get an autoconf file for MS-DOS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6893 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/generic/ChangeLog b/src/lib/gssapi/generic/ChangeLog index 2bf0aad4a..984c59f7d 100644 --- a/src/lib/gssapi/generic/ChangeLog +++ b/src/lib/gssapi/generic/ChangeLog @@ -1,3 +1,9 @@ +Fri Sep 29 02:02:35 1995 Theodore Y. Ts'o + + * gssapi.h: For MS-DOS, use the brute force method of defining the + size of variables; we should really get an autoconf file + for MS-DOS. + Mon Sep 28 12:00:00 1995 John Rivlin * gssapi_generic.h: Modified to use build in compiler symbols rather diff --git a/src/lib/gssapi/generic/gssapi.h b/src/lib/gssapi/generic/gssapi.h index 7f79ca1bb..f81fbae75 100644 --- a/src/lib/gssapi/generic/gssapi.h +++ b/src/lib/gssapi/generic/gssapi.h @@ -26,7 +26,14 @@ /* * Determine platform-dependent configuration. */ -#ifdef USE_AUTOCONF_H +#ifdef _MSDOS +/* XXX brute force */ +#define GSS_SIZEOF_INT 2 +#define GSS_SIZEOF_SHORT 2 +#define GSS_SIZEOF_LONG 4 +#else /* _MSDOS_ */ + +#if defined(USE_AUTOCONF_H) /* * Use autoconf generated header. */ @@ -35,23 +42,18 @@ #define GSS_SIZEOF_LONG SIZEOF_LONG #define GSS_SIZEOF_SHORT SIZEOF_SHORT #else /* USE_AUTOCONF_H */ + /* * Do it brute force. */ -#ifdef _MSDOS -#define GSS_SIZEOF_INT 2 -#define GSS_SIZEOF_SHORT 2 -#define GSS_SIZEOF_LONG 4 -/* #define HAVE_STDDEF_H 1 */ -/* #define HAVE_XOM_H 1 */ -#else /* _MSDOS */ #define GSS_SIZEOF_INT 4 #define GSS_SIZEOF_LONG 4 #define GSS_SIZEOF_SHORT 2 /* #define HAVE_STDDEF_H 1 */ /* #define HAVE_XOM_H 1 */ -#endif /* _MSDOS */ + #endif /* USE_AUTOCONF_H */ +#endif /* _MSDOS */ /* * Define INTERFACE, INTERFACE_C and FAR.