mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Update Win32 exception comment.
This commit is contained in:
parent
74b6f73bc2
commit
70268b50dd
@ -1,4 +1,4 @@
|
|||||||
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.70 2007/01/23 16:21:17 momjian Exp $ */
|
/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.71 2007/01/25 21:50:49 momjian Exp $ */
|
||||||
|
|
||||||
#if defined(_MSC_VER) || defined(__BORLANDC__)
|
#if defined(_MSC_VER) || defined(__BORLANDC__)
|
||||||
#define WIN32_ONLY_COMPILER
|
#define WIN32_ONLY_COMPILER
|
||||||
@ -155,8 +155,10 @@ int semop(int semId, struct sembuf * sops, int flag);
|
|||||||
* NTSTATUS.H from the Windows NT DDK.
|
* NTSTATUS.H from the Windows NT DDK.
|
||||||
*
|
*
|
||||||
* Some day we might want to print descriptions for the most common
|
* Some day we might want to print descriptions for the most common
|
||||||
* exceptions, rather than printing a URL. FormatMessage() can print
|
* exceptions, rather than printing an include file name. We could use
|
||||||
* the text of error values, but not exception values.
|
* RtlNtStatusToDosError() and pass to FormatMessage(), which can print
|
||||||
|
* the text of error values, but MinGW does not support
|
||||||
|
* RtlNtStatusToDosError().
|
||||||
*/
|
*/
|
||||||
#define WIFEXITED(w) (((w) & 0XFFFFFF00) == 0)
|
#define WIFEXITED(w) (((w) & 0XFFFFFF00) == 0)
|
||||||
#define WIFSIGNALED(w) (!WIFEXITED(w))
|
#define WIFSIGNALED(w) (!WIFEXITED(w))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user