Hi.
I'm confused in the library recommended as a standard by Kerberos....
Is the following formal kerberos version good at 3.2.1?
http://web.mit.edu/Kerberos/dist/index.html
Kerberos 3.2.1 for Windows is designed for 32-bit versions of Windows 2000,
XP, 2003, 2003 R2, Vista and WOW64 environments.
It is visible to a good state.
However, If the SDK remains as it is, it fails in configure on MinGW(gcc-3.4.5)
The origin in problem is this.
#ifdef _WIN64
typedef __int64 ssize_t;
#else
typedef _W64 int ssize_t;
#endif
It seems for VisualStudio....
Attached patch can be build finely. Is this the problem which happens only to
me?
Of course, it is the occurrence of CVS-HEAD (8.3).
Where is better solution? or any suggestion?.
Regards,
Hiroshi Saito
*** C:/MinGW/include/krb5/win-mac.h.orig Tue Sep 4 11:39:12 2007
--- C:/MinGW/include/krb5/win-mac.h Tue Sep 4 13:47:40 2007
***************
*** 86,96 ****
--- 86,98 ----
#ifdef ssize_t
#undef ssize_t
#endif
+ #if 0 /* PGSQL */
#ifdef _WIN64
typedef __int64 ssize_t;
#else
typedef _W64 int ssize_t;
#endif
+ #endif /* END PGSQL */
#define SSIZE_T_DEFINED
#endif
#endif /* KRB5_SYSTYPES__ */
***************
*** 100,116 ****
--- 102,126 ----
#define MAXPATHLEN 256 /* Also for Windows temp files */
#endif
+ #if 0 /* PGSQL */
#define HAVE_NETINET_IN_H
+ #endif /* END PGSQL */
#define MSDOS_FILESYSTEM
+ #if 0 /* PGSQL */
#define HAVE_STRING_H
+ #endif /* END PGSQL */
#define HAVE_SRAND
#define HAVE_ERRNO
+ #if 0 /* PGSQL */
#define HAVE_STRDUP
+ #endif /* END PGSQL */
#define HAVE_GETADDRINFO
#define HAVE_GETNAMEINFO
#define NO_USERID
#define NO_PASSWORD
+ #if 0 /* PGSQL */
#define HAVE_STRERROR
+ #endif /* END PGSQL */
#define SYS_ERRLIST_DECLARED
/* if __STDC_VERSION__ >= 199901L this shouldn't be needed */
#define inline __inline
***************
*** 159,166 ****
--- 169,178 ----
#define HAS_VOID_TYPE
#define HAVE_STDARG_H
+ #if 0 /* PGSQL */
#define HAVE_SYS_TYPES_H
#define HAVE_STDLIB_H
+ #endif /* END PGSQL */
/* This controls which encryption routines libcrypto will provide */
#define PROVIDE_DES_CBC_MD5
---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly