Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4f7d3e0

Browse files
committed
Win32 compile fix for misc_utils.
Claudio Natoli
1 parentbf06825 commit4f7d3e0

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

‎contrib/miscutil/misc_utils.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
#ifndefMISC_UTILS_H
22
#defineMISC_UTILS_H
33

4+
#ifdefmax
5+
#undef max
6+
#endif
7+
#ifdefmin
8+
#undef min
9+
#endif
10+
411
intbackend_pid(void);
512
intunlisten(char*relname);
613
intmax(intx,inty);

‎src/include/port/win32.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.32 2004/09/09 00:59:44 momjian Exp $ */
1+
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.33 2004/09/14 03:50:17 tgl Exp $ */
22

33
/* undefine and redefine after #include */
44
#undef mkdir
@@ -166,6 +166,7 @@ void_dosmaperr(unsigned long);
166166
#defineSIGPIPE13
167167
#defineSIGALRM14
168168
#defineSIGSTOP17
169+
#defineSIGTSTP18
169170
#defineSIGCONT19
170171
#defineSIGCHLD20
171172
#defineSIGTTIN21

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp