Uppercase hex value.
authorBruce Momjian <bruce@momjian.us>
Mon, 22 Jan 2007 18:32:57 +0000 (18:32 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 22 Jan 2007 18:32:57 +0000 (18:32 +0000)
src/include/port/win32.h

index dc2219be165c50a9b9b66ac902c5dd6cb2fcfcd1..f88ef11a548d4e1dbd731c79873e5ee9c5c8234f 100644 (file)
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.66 2007/01/22 18:31:51 momjian Exp $ */
+/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.67 2007/01/22 18:32:57 momjian Exp $ */
 
 #if defined(_MSC_VER) || defined(__BORLANDC__)
 #define WIN32_ONLY_COMPILER
@@ -143,7 +143,7 @@ int                 semop(int semId, struct sembuf * sops, int flag);
  *     Some day we might want to print descriptions for the most common
  *     exceptions, rather than printing a URL.
  */
-#define WIFEXITED(w)    (((w) & 0xffffff00) == 0)
+#define WIFEXITED(w)    (((w) & 0XFFFFFF00) == 0)
 #define WIFSIGNALED(w)  (!WIFEXITED(w))
 #define WEXITSTATUS(w)  (w)
 #define WTERMSIG(w)     (w)