Windows: define HAVE_SSIZE_T

The windows param.*.h files define the ssize_t type.
Therefore, we must define HAVE_SSIZE_T in order to avoid
a collision with the ssize_t typedef in afs/stds.h.

Change-Id: Ie34cb565f09acfffe985476d24dbca917b05c5db
Reviewed-on: http://gerrit.openafs.org/1936
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
Jeffrey Altman 2010-05-09 20:46:11 -04:00 committed by Jeffrey Altman
parent 8aa46c5a66
commit f2ac483c2b
4 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,7 @@
#define AFS_NAMEI_ENV 1 /* User space interface to file system */
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
#define AFS_KRB5_ERROR_ENV 1 /* fetch_krb5_error_message() available in afsutil.lib */
#define HAVE_SSIZE_T 1
#include <afs/afs_sysnames.h>
#define SYS_NAME_ID SYS_NAME_ID_amd64_w2k

View File

@ -20,6 +20,7 @@
#define AFS_NAMEI_ENV 1 /* User space interface to file system */
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
#define AFS_KRB5_ERROR_ENV 1 /* fetch_krb5_error_message() available in afsutil.lib */
#define HAVE_SSIZE_T 1
#include <afs/afs_sysnames.h>
#define SYS_NAME_ID SYS_NAME_ID_i386_nt35

View File

@ -20,6 +20,7 @@
#define AFS_NAMEI_ENV 1 /* User space interface to file system */
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
#define AFS_KRB5_ERROR_ENV 1 /* fetch_krb5_error_message() available in afsutil.lib */
#define HAVE_SSIZE_T 1
#include <afs/afs_sysnames.h>
#define SYS_NAME_ID SYS_NAME_ID_i386_w2k

View File

@ -19,6 +19,7 @@
#define AFS_64BIT_IOPS_ENV 1
#define AFS_NAMEI_ENV 1 /* User space interface to file system */
#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
#define HAVE_SSIZE_T 1
#include <afs/afs_sysnames.h>
#define SYS_NAME_ID SYS_NAME_ID_i64_w2k