diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/gssapi/generic/ChangeLog | 6 | ||||
| -rw-r--r-- | src/lib/gssapi/generic/gssapi.h | 20 |
2 files changed, 17 insertions, 9 deletions
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 <tytso@dcl> + + * 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 <jrivlin@fusion.com> * 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. |
