From a4cbc6eba3d3eed513b99e51e33b4cbf8f1aadf6 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 29 Sep 1995 06:04:19 +0000 Subject: 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 --- src/lib/gssapi/generic/gssapi.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'src/lib/gssapi/generic/gssapi.h') diff --git a/src/lib/gssapi/generic/gssapi.h b/src/lib/gssapi/generic/gssapi.h index 7f79ca1bb4..f81fbae756 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. -- cgit