[Mono-list] diff: fix assembly.c under windows.

Peter Ross pro@missioncriticalit.com
Wed, 12 Nov 2003 16:13:44 +0100


Define a variable, which is used in windows specific code.

Index: mono/metadata/assembly.c
===================================================================
RCS file: /mono/mono/mono/metadata/assembly.c,v
retrieving revision 1.72
diff -u -r1.72 assembly.c
--- mono/metadata/assembly.c	11 Nov 2003 14:56:14 -0000	1.72
+++ mono/metadata/assembly.c	12 Nov 2003 15:06:58 -0000
@@ -425,6 +425,9 @@
 	MonoImageOpenStatus def_status;
 	gchar *fname;
 	GList *loading;
+#if defined (PLATFORM_WIN32)
+	int i;
+#endif
 	
 	g_return_val_if_fail (filename != NULL, NULL);