0.9.18.70: fix Win32 build with version 3.8 WinAPI headers from MinGW
authorNikodemus Siivola <nikodemus@random-state.net>
Thu, 23 Nov 2006 12:42:30 +0000 (12:42 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Thu, 23 Nov 2006 12:42:30 +0000 (12:42 +0000)
  * Conflicting boolean types. Report and patch by Pierre Mai.
    Still in freeze, damn.

src/runtime/win32-os.c
version.lisp-expr

index baac264..c5292c2 100644 (file)
 #include <sys/time.h>
 #include <sys/stat.h>
 #include <unistd.h>
+
+/* KLUDGE: Avoid double definition of boolean by rpcndr.h included via
+ * shlobj.h.
+ *
+ * FIXME: We should probably arrange to use the rpcndr.h boolean on Windows,
+ * or get rid of our own boolean type.
+ */
+#define boolean rpcndr_boolean
 #include <shlobj.h>
+#undef boolean
+
 #include <math.h>
 
 #include <excpt.h>
index 29ba23d..7f834ad 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.9.18.69"
+"0.9.18.70"