Commit 4f7d3e0f authored by Tom Lane's avatar Tom Lane

Win32 compile fix for misc_utils.

Claudio Natoli
parent bf06825e
#ifndef MISC_UTILS_H #ifndef MISC_UTILS_H
#define MISC_UTILS_H #define MISC_UTILS_H
#ifdef max
#undef max
#endif
#ifdef min
#undef min
#endif
int backend_pid(void); int backend_pid(void);
int unlisten(char *relname); int unlisten(char *relname);
int max(int x, int y); int max(int x, int y);
......
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.32 2004/09/09 00:59:44 momjian Exp $ */ /* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.33 2004/09/14 03:50:17 tgl Exp $ */
/* undefine and redefine after #include */ /* undefine and redefine after #include */
#undef mkdir #undef mkdir
...@@ -166,6 +166,7 @@ void _dosmaperr(unsigned long); ...@@ -166,6 +166,7 @@ void _dosmaperr(unsigned long);
#define SIGPIPE 13 #define SIGPIPE 13
#define SIGALRM 14 #define SIGALRM 14
#define SIGSTOP 17 #define SIGSTOP 17
#define SIGTSTP 18
#define SIGCONT 19 #define SIGCONT 19
#define SIGCHLD 20 #define SIGCHLD 20
#define SIGTTIN 21 #define SIGTTIN 21
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment