]> granicus.if.org Git - vim/commitdiff
updated for version 7.1-065 v7.1.065
authorBram Moolenaar <Bram@vim.org>
Sun, 12 Aug 2007 13:25:01 +0000 (13:25 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 12 Aug 2007 13:25:01 +0000 (13:25 +0000)
src/Make_ming.mak
src/iid_ole.c
src/version.c

index 0f2022c3ea086795a8416fe08ca34a02cf7b5a68..6d28e466857b5e5cbe61b9f06208f1621dc5cd3b 100644 (file)
@@ -572,8 +572,9 @@ $(OUTDIR)/ex_eval.o:        ex_eval.c $(INCL) ex_cmds.h
 $(OUTDIR)/if_cscope.o: if_cscope.c $(INCL) if_cscope.h
        $(CC) -c $(CFLAGS) if_cscope.c -o $(OUTDIR)/if_cscope.o
 
+# Remove -D__IID_DEFINED__ for newer versions of the w32api
 $(OUTDIR)/if_ole.o: if_ole.cpp $(INCL)
-       $(CC) $(CFLAGS) -D__IID_DEFINED__ -c -o $(OUTDIR)/if_ole.o if_ole.cpp
+       $(CC) $(CFLAGS) -c -o $(OUTDIR)/if_ole.o if_ole.cpp
 
 $(OUTDIR)/if_ruby.o: if_ruby.c $(INCL)
 ifeq (16, $(RUBY))
index 6ade213fe62ed49030d764ab5effc9641209ebbd..44802d0ef1a76e9ea3eafd6cde8ab5038f833e78 100644 (file)
 extern "C"{
 #endif
 
+#ifdef __MINGW32__
+# include <w32api.h>
+
+# if __W32API_MAJOR_VERSION == 3 && __W32API_MINOR_VERSION < 10
+   /* This define is missing from older MingW versions of w32api, even though
+    * IID is defined. */
+#  define __IID_DEFINED__
+# endif
+#endif
 
 #ifndef __IID_DEFINED__
-#define __IID_DEFINED__
+# define __IID_DEFINED__
 
 typedef struct _IID
 {
@@ -28,12 +37,12 @@ typedef struct _IID
     unsigned char  c[8];
 } IID;
 
-#endif // __IID_DEFINED__
+#endif
 
 #ifndef CLSID_DEFINED
-#define CLSID_DEFINED
+# define CLSID_DEFINED
 typedef IID CLSID;
-#endif // CLSID_DEFINED
+#endif
 
 const IID IID_IVim = {0x0F0BFAE2,0x4C90,0x11d1,{0x82,0xD7,0x00,0x04,0xAC,0x36,0x85,0x19}};
 
index 6f0eb8d915c17efdbe64fe405600c21fb9c68fe2..4bbf44a1e232e14cdb26c4fe410d1210139456b1 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    65,
 /**/
     64,
 /**/