diff options
author | Tom Lane | 2004-09-14 03:50:17 +0000 |
---|---|---|
committer | Tom Lane | 2004-09-14 03:50:17 +0000 |
commit | 7f9e338e967d114a66696a6503b09607624de90e (patch) | |
tree | 9e0ce272c9c21340c109de546bc3f24bd1979f6b | |
parent | de3756a0fbb299c1a6aa6accf80479944d61ee33 (diff) |
Win32 compile fix for misc_utils.
Claudio Natoli
-rw-r--r-- | contrib/miscutil/misc_utils.h | 7 | ||||
-rw-r--r-- | src/include/port/win32.h | 1 |
2 files changed, 8 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); diff --git a/src/include/port/win32.h b/src/include/port/win32.h index d4dc8288ff..17b9e53872 100644 --- a/src/include/port/win32.h +++ b/src/include/port/win32.h @@ -166,6 +166,7 @@ void _dosmaperr(unsigned long); #define SIGPIPE 13 #define SIGALRM 14 #define SIGSTOP 17 +#define SIGTSTP 18 #define SIGCONT 19 #define SIGCHLD 20 #define SIGTTIN 21 |