From: Jeffrey Altman Date: Mon, 10 May 2010 00:46:11 +0000 (-0400) Subject: Windows: define HAVE_SSIZE_T X-Git-Tag: openafs-devel-1_5_75~301 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f2ac483c2bdb018c4f225d2781f15b7926d5063b;p=packages%2Fo%2Fopenafs.git 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 Reviewed-by: Jeffrey Altman --- diff --git a/src/config/param.amd64_w2k.h b/src/config/param.amd64_w2k.h index 242bfda47..1efe6aa4b 100644 --- a/src/config/param.amd64_w2k.h +++ b/src/config/param.amd64_w2k.h @@ -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 #define SYS_NAME_ID SYS_NAME_ID_amd64_w2k diff --git a/src/config/param.i386_nt40.h b/src/config/param.i386_nt40.h index e2df99012..dde475012 100644 --- a/src/config/param.i386_nt40.h +++ b/src/config/param.i386_nt40.h @@ -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 #define SYS_NAME_ID SYS_NAME_ID_i386_nt35 diff --git a/src/config/param.i386_w2k.h b/src/config/param.i386_w2k.h index 309c0aca8..30ab18bd2 100644 --- a/src/config/param.i386_w2k.h +++ b/src/config/param.i386_w2k.h @@ -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 #define SYS_NAME_ID SYS_NAME_ID_i386_w2k diff --git a/src/config/param.i64_w2k.h b/src/config/param.i64_w2k.h index 186df1525..065125337 100644 --- a/src/config/param.i64_w2k.h +++ b/src/config/param.i64_w2k.h @@ -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 #define SYS_NAME_ID SYS_NAME_ID_i64_w2k