]> granicus.if.org Git - postgresql/blobdiff - src/include/rusagestub.h
Centralize definition of integer limits.
[postgresql] / src / include / rusagestub.h
index 165b640d104290dffbac369f9a4f31835d88bff9..481c324cf1420e0d93d7d0e6780c0a921eb26268 100644 (file)
@@ -4,10 +4,10 @@
  *       Stubs for getrusage(3).
  *
  *
- * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: rusagestub.h,v 1.10 2002/06/20 20:29:42 momjian Exp $
+ * src/include/rusagestub.h
  *
  *-------------------------------------------------------------------------
  */
 #define RUSAGESTUB_H
 
 #include <sys/time.h>                  /* for struct timeval */
+#ifndef WIN32
 #include <sys/times.h>                 /* for struct tms */
+#endif
 #include <limits.h>                            /* for CLK_TCK */
 
 #define RUSAGE_SELF            0
-#define RUSAGE_CHILDREN -1
+#define RUSAGE_CHILDREN (-1)
 
 struct rusage
 {