summaryrefslogtreecommitdiff
path: root/cups/file.h
diff options
context:
space:
mode:
authorjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>2007-02-14 19:18:46 +0000
committerjlovell <jlovell@a1ca3aef-8c08-0410-bb20-df032aa958be>2007-02-14 19:18:46 +0000
commitb86bc4cf571c35972a94a634ea884baff9799fa9 (patch)
tree9337cdf0bf4a63518307072ab0c75ce665c8a20a /cups/file.h
parent411affcf6ae840dbe82786a1f42c16cb3127d20f (diff)
Load cups into easysw/current.
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@266 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'cups/file.h')
-rw-r--r--cups/file.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/cups/file.h b/cups/file.h
index b36aa0577..fd9eca731 100644
--- a/cups/file.h
+++ b/cups/file.h
@@ -1,5 +1,5 @@
/*
- * "$Id: file.h 5769 2006-07-20 17:17:14Z mike $"
+ * "$Id: file.h 6188 2007-01-10 16:23:06Z mike $"
*
* Public file definitions for the Common UNIX Printing System (CUPS).
*
@@ -8,7 +8,7 @@
* our own file functions allows us to provide transparent support of
* gzip'd print files, PPD files, etc.
*
- * Copyright 1997-2006 by Easy Software Products, all rights reserved.
+ * Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
* property of Easy Software Products and are protected by Federal
@@ -36,11 +36,11 @@
*/
# include <sys/types.h>
-
-# ifdef WIN32
+# if defined(WIN32) && !defined(__CUPS_SSIZE_T_DEFINED)
+# define __CUPS_SSIZE_T_DEFINED
/* Windows does not support the ssize_t type, so map it to off_t... */
typedef off_t ssize_t; /* @private@ */
-# endif /* WIN32 */
+# endif /* WIN32 && !__CUPS_SSIZE_T_DEFINED */
/*
@@ -109,5 +109,5 @@ extern ssize_t cupsFileWrite(cups_file_t *fp, const char *buf, size_t bytes);
#endif /* !_CUPS_FILE_H_ */
/*
- * End of "$Id: file.h 5769 2006-07-20 17:17:14Z mike $".
+ * End of "$Id: file.h 6188 2007-01-10 16:23:06Z mike $".
*/