aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2007-01-25 21:50:49 +0000
committerBruce Momjian <bruce@momjian.us>2007-01-25 21:50:49 +0000
commit70268b50dd82d6eb22f1679fdaf3135cd276863e (patch)
tree7a3153931469c4caa682558f87db3ff76344f76f /src
parent74b6f73bc21fa438b48182adcb2e4d0b0eea8db2 (diff)
downloadpostgresql-70268b50dd82d6eb22f1679fdaf3135cd276863e.tar.gz
postgresql-70268b50dd82d6eb22f1679fdaf3135cd276863e.zip
Update Win32 exception comment.
Diffstat (limited to 'src')
-rw-r--r--src/include/port/win32.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h
index 0264ebc4fc9..d1789b25265 100644
--- a/src/include/port/win32.h
+++ b/src/include/port/win32.h
@@ -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__)
#define WIN32_ONLY_COMPILER
@@ -155,8 +155,10 @@ int semop(int semId, struct sembuf * sops, int flag);
* NTSTATUS.H from the Windows NT DDK.
*
* Some day we might want to print descriptions for the most common
- * exceptions, rather than printing a URL. FormatMessage() can print
- * the text of error values, but not exception values.
+ * exceptions, rather than printing an include file name. We could use
+ * 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 WIFSIGNALED(w) (!WIFEXITED(w))