summaryrefslogtreecommitdiff
path: root/src/include/rusagestub.h
diff options
context:
space:
mode:
authorNeil Conway2005-07-27 12:44:10 +0000
committerNeil Conway2005-07-27 12:44:10 +0000
commita4c75ece82576b8d124ffdf7580ee6a218b12ccd (patch)
treecbe246fefbb88605414a8eedb627ff3dbd325d6e /src/include/rusagestub.h
parentb98b75eb3bf4d1be59e13ce954612c8bab81b08e (diff)
Fix a few macro definitions to ensure that unary minus is enclosed in
parentheses. This avoids possible operator precedence problems, and is consistent with most of the macro definitions in the tree.
Diffstat (limited to 'src/include/rusagestub.h')
-rw-r--r--src/include/rusagestub.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/rusagestub.h b/src/include/rusagestub.h
index 45aaa5e3f2..527c8654bc 100644
--- a/src/include/rusagestub.h
+++ b/src/include/rusagestub.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/rusagestub.h,v 1.15 2004/12/31 22:03:19 pgsql Exp $
+ * $PostgreSQL: pgsql/src/include/rusagestub.h,v 1.16 2005/07/27 12:44:10 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@@ -21,7 +21,7 @@
#include <limits.h> /* for CLK_TCK */
#define RUSAGE_SELF 0
-#define RUSAGE_CHILDREN -1
+#define RUSAGE_CHILDREN (-1)
struct rusage
{