|
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 $ */ |
2 | 2 |
|
3 | 3 | #if defined(_MSC_VER)|| defined(__BORLANDC__) |
4 | 4 | #defineWIN32_ONLY_COMPILER |
@@ -155,8 +155,10 @@ intsemop(int semId, struct sembuf * sops, int flag); |
155 | 155 | *NTSTATUS.H from the Windows NT DDK. |
156 | 156 | * |
157 | 157 | *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(). |
160 | 162 | */ |
161 | 163 | #defineWIFEXITED(w) (((w) & 0XFFFFFF00) == 0) |
162 | 164 | #defineWIFSIGNALED(w) (!WIFEXITED(w)) |
|