]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/file.h
Load cups into easysw/current.
[thirdparty/cups.git] / cups / file.h
index b36aa0577cfb945a25a410e005851e3486bf655c..fd9eca7318c2a7a3f9a51905282dfb4d81123cc9 100644 (file)
@@ -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
  */
 
 #  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 $".
  */