Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 70268b5

Browse files
committed
Update Win32 exception comment.
1 parent 74b6f73 commit 70268b5

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/25 21:50:49 momjian Exp $ */
22

33
#if defined(_MSC_VER) || defined(__BORLANDC__)
44
#define WIN32_ONLY_COMPILER
@@ -155,8 +155,10 @@ int semop(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
#define WIFEXITED(w) (((w) & 0XFFFFFF00) == 0)
162164
#define WIFSIGNALED(w) (!WIFEXITED(w))

0 commit comments

Comments
 (0)