summaryrefslogtreecommitdiff
path: root/cups/cups.h
diff options
context:
space:
mode:
authorMichael R Sweet <michaelrsweet@gmail.com>2016-08-08 12:42:20 -0400
committerMichael R Sweet <michaelrsweet@gmail.com>2016-08-08 12:42:20 -0400
commit21aa3f379f582a083b5534b97cab0892a7dbe9b4 (patch)
tree9841006350a011aaeb4bcfd2cc4858e3fa884cd5 /cups/cups.h
parent488449f04cd2417fbcdc1c4bbb457241201d345f (diff)
downloadcups-21aa3f379f582a083b5534b97cab0892a7dbe9b4.tar.gz
Sync up some Windows build fixes from the ippsample fork.
Diffstat (limited to 'cups/cups.h')
-rw-r--r--cups/cups.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cups/cups.h b/cups/cups.h
index 7001ba4bc..c9bea806d 100644
--- a/cups/cups.h
+++ b/cups/cups.h
@@ -24,8 +24,8 @@
# if defined(WIN32) && !defined(__CUPS_SSIZE_T_DEFINED)
# define __CUPS_SSIZE_T_DEFINED
# include <stddef.h>
-/* Windows does not support the ssize_t type, so map it to off_t... */
-typedef off_t ssize_t; /* @private@ */
+/* Windows does not support the ssize_t type, so map it to long... */
+typedef long ssize_t; /* @private@ */
# endif /* WIN32 && !__CUPS_SSIZE_T_DEFINED */
# include "file.h"