]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Windows: define HAVE_SSIZE_T
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 10 May 2010 00:46:11 +0000 (20:46 -0400)
committerJeffrey Altman <jaltman@openafs.org>
Mon, 10 May 2010 01:03:17 +0000 (18:03 -0700)
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>
src/config/param.amd64_w2k.h
src/config/param.i386_nt40.h
src/config/param.i386_w2k.h
src/config/param.i64_w2k.h

index 242bfda47520a4c4651d5c1cd1f519f82ddaea81..1efe6aa4b9a5fcb8aa581135de8345a529ec9e5e 100644 (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
index e2df99012287d4a41324e4e63e0e0b4fcef5da9a..dde47501247acb4fb476e782ee527a068077a35b 100644 (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
index 309c0aca831505bd531163e02ab5845ca52a89ed..30ab18bd2923da7e11ac63df1ffb23a5a80c0369 100644 (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
index 186df1525627514636931e096824c226c33e54a4..065125337fc6d445d73b8fd14077898c4a3172e7 100644 (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