diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-09-14 03:50:17 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-09-14 03:50:17 +0000 |
commit | 4f7d3e0faf9f06c77de49ed9fa863dc344959c3e (patch) | |
tree | 52cf5a49bbe5b8e1236a1cc221bf0e4fcd88a9f2 /contrib/miscutil/misc_utils.h | |
parent | bf06825e31de28692f3976e729c2700274d9b578 (diff) |
Win32 compile fix for misc_utils.
Claudio Natoli
Diffstat (limited to 'contrib/miscutil/misc_utils.h')
-rw-r--r-- | contrib/miscutil/misc_utils.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/miscutil/misc_utils.h b/contrib/miscutil/misc_utils.h index f4577f49de4..bc69ba86157 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); |