RESUBMIT: ppdev patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

this is a resubmit of the HAVE_PPDEV condiditional move.

(for cases where we have linux/ppdev.h, but are not on i386)

Ciao, Marcus

License: LGPL
Changelog:
	Fixed the ppdev.h present but not direct io access case.

Index: ioports.c
===================================================================
RCS file: /home/wine/wine/msdos/ioports.c,v
retrieving revision 1.32
diff -u -r1.32 ioports.c
--- ioports.c	31 May 2002 23:06:52 -0000	1.32
+++ ioports.c	4 Aug 2002 17:41:53 -0000
@@ -79,14 +79,15 @@
 # undef PP_IO_ACCESS
 #endif  /* linux && __i386__ */
 
+#ifdef HAVE_PPDEV
+static int do_pp_port_access = -1; /* -1: uninitialized, 1: not available
+				       0: available);*/
+#endif
+
 #ifdef DIRECT_IO_ACCESS
 
 extern int iopl(int level);
 static char do_direct_port_access = -1;
-#ifdef HAVE_PPDEV
-static char do_pp_port_access = -1; /* -1: uninitialized, 1: not available
-				       0: available);*/
-#endif
 static char port_permissions[0x10000];
 
 #define IO_READ  1


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux