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

Commit70268b5

Browse files
committed
Update Win32 exception comment.
1 parent74b6f73 commit70268b5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎src/include/port/win32.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.70 2007/01/23 16:21:17 momjian Exp $ */
1+
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.71 2007/01/2521:50:49 momjian Exp $ */
22

33
#if defined(_MSC_VER)|| defined(__BORLANDC__)
44
#defineWIN32_ONLY_COMPILER
@@ -155,8 +155,10 @@ intsemop(int semId, struct sembuf * sops, int flag);
155155
*NTSTATUS.H from the Windows NT DDK.
156156
*
157157
*Some day we might want to print descriptions for the most common
158-
*exceptions, rather than printing a URL. FormatMessage() can print
159-
*the text of error values, but not exception values.
158+
*exceptions, rather than printing an include file name. We could use
159+
*RtlNtStatusToDosError() and pass to FormatMessage(), which can print
160+
*the text of error values, but MinGW does not support
161+
*RtlNtStatusToDosError().
160162
*/
161163
#defineWIFEXITED(w) (((w) & 0XFFFFFF00) == 0)
162164
#defineWIFSIGNALED(w) (!WIFEXITED(w))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp