]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - vcnet/config.h
Merge changes from CUPS 1.5svn-r9062.
[thirdparty/cups.git] / vcnet / config.h
index ab2d920e9788f8277573d395a9540e7f99c0148a..272724c04b7839734e25b39c6b8f3a293686bf65 100644 (file)
@@ -1,9 +1,9 @@
 /*
  * "$Id: config.h 6649 2007-07-11 21:46:42Z mike $"
  *
- *   Configuration file for the Common UNIX Printing System (CUPS).
+ *   Configuration file for CUPS.
  *
- *   Copyright 2007-2009 by Apple Inc.
+ *   Copyright 2007-2010 by Apple Inc.
  *   Copyright 1997-2007 by Easy Software Products.
  *
  *   These coded instructions, statements, and computer programs are the
 #define write          _write
 
 
+/*
+ * Map the POSIX sleep() and usleep() functions to the Win32 Sleep() function...
+ */
+
+#define sleep(X)       Sleep(1000 * (X))
+#define usleep(X)      Sleep((X)/1000)
+
+
 /*
  * Compiler stuff...
  */