+2004-07-01 Ken Raeburn <raeburn@mit.edu>
+
+ * configure.in: Test for 'inline' support.
+ * k5-platform.h (inline): Don't define here.
+ * win-mac.h (inline): Define as __inline.
+
2004-06-30 Ken Raeburn <raeburn@mit.edu>
* k5-thread.h (k5_debug_assert_locked, k5_debug_assert_unlocked):
fi
AC_SUBST(maybe_kerberosIV)
dnl
+AC_C_INLINE
+dnl
dnl Not used yet, but let's find out what we've got on the platforms
dnl we're working with....
AC_CHECK_HEADERS(inttypes.h stdint.h)
#ifndef K5_PLATFORM_H
#define K5_PLATFORM_H
-#if !defined(inline)
-# if __STDC_VERSION__ >= 199901L
-/* C99 supports inline, don't do anything. */
-# elif defined(__GNUC__)
-# define inline __inline__ /* this form silences -pedantic warnings */
-# elif defined(__mips) && defined(__sgi)
-# define inline __inline /* IRIX used at MIT does inline but not c99 yet */
-# elif defined(__sun) && __SUNPRO_C >= 0x540
-/* The Forte Developer 7 C compiler supports "inline". */
-# elif defined(_WIN32)
-# define inline __inline
-# else
-# define inline /* nothing, just static */
-# endif
-#endif
-
#include "autoconf.h"
-
/* Initialization and finalization function support for libraries.
At top level, before the functions are defined or even declared:
#define NO_PASSWORD
#define HAVE_STRERROR
#define SYS_ERRLIST_DECLARED
+/* if __STDC_VERSION__ >= 199901L this shouldn't be needed */
+#define inline __inline
#define WM_KERBEROS5_CHANGED "Kerberos5 Changed"
#ifdef KRB4