index 0264ebc4fc93825498172533d7c116f694e49f9c..d1789b25265754ca68a6e79b82679c9e745f4298 100644 (file)
-/* $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))