summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-09-14 03:50:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-09-14 03:50:17 +0000
commit4f7d3e0faf9f06c77de49ed9fa863dc344959c3e (patch)
tree52cf5a49bbe5b8e1236a1cc221bf0e4fcd88a9f2 /contrib
parentbf06825e31de28692f3976e729c2700274d9b578 (diff)
downloadpostgresql-4f7d3e0faf9f06c77de49ed9fa863dc344959c3e.tar.gz
Win32 compile fix for misc_utils.
Claudio Natoli
Diffstat (limited to 'contrib')
-rw-r--r--contrib/miscutil/misc_utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/miscutil/misc_utils.h b/contrib/miscutil/misc_utils.h
index f4577f49de..bc69ba8615 100644
--- a/contrib/miscutil/misc_utils.h
+++ b/contrib/miscutil/misc_utils.h
@@ -1,6 +1,13 @@
#ifndef MISC_UTILS_H
#define MISC_UTILS_H
+#ifdef max
+#undef max
+#endif
+#ifdef min
+#undef min
+#endif
+
int backend_pid(void);
int unlisten(char *relname);
int max(int x, int y);