Re: Contrib modules on Win32
Claudio Natoli <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.devel.win32,gmane.comp.db.postgresql.devel.patches |
|---|---|
| Message-ID | <[email protected]> |
Win32 compile fix for misc_utils.
Note: As before, un-tested.
---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [email protected] so that your
message can get through to the mailing list cleanly
misc_utils.patch
(application/octet-stream, 1.1 KB)
Index: contrib/miscutil/misc_utils.h =================================================================== RCS file: /projects/cvsroot/pgsql-server/contrib/miscutil/misc_utils.h,v retrieving revision 1.10 diff -c -w -r1.10 misc_utils.h *** contrib/miscutil/misc_utils.h 28 Oct 2001 06:25:40 -0000 1.10 --- contrib/miscutil/misc_utils.h 9 Sep 2004 02:35:00 -0000 *************** *** 1,6 **** --- 1,8 ---- #ifndef MISC_UTILS_H #define MISC_UTILS_H + #undef max + #undef min int backend_pid(void); int unlisten(char *relname); int max(int x, int y); Index: src/include/port/win32.h =================================================================== RCS file: /projects/cvsroot/pgsql-server/src/include/port/win32.h,v retrieving revision 1.32 diff -c -w -r1.32 win32.h *** src/include/port/win32.h 9 Sep 2004 00:59:44 -0000 1.32 --- src/include/port/win32.h 9 Sep 2004 02:35:06 -0000 *************** *** 166,171 **** --- 166,172 ---- #define SIGPIPE 13 #define SIGALRM 14 #define SIGSTOP 17 + #define SIGTSTP 18 #define SIGCONT 19 #define SIGCHLD 20 #define SIGTTIN 21