[ros-diffs] [cwittich] 18605: fix compile with msvc

cwittich at svn.reactos.com cwittich at svn.reactos.com
Wed Oct 19 23:09:04 CEST 2005


fix compile with msvc
Modified: trunk/reactos/subsys/system/devmgr/devmgr.c
Modified: trunk/reactos/subsys/system/devmgr/devmgr.xml
  _____  

Modified: trunk/reactos/subsys/system/devmgr/devmgr.c
--- trunk/reactos/subsys/system/devmgr/devmgr.c	2005-10-19 20:35:01 UTC
(rev 18604)
+++ trunk/reactos/subsys/system/devmgr/devmgr.c	2005-10-19 21:08:53 UTC
(rev 18605)
@@ -12,8 +12,10 @@

 #include <commctrl.h>
 #include <windows.h>
 #include <commctrl.h>
+#if defined (__GNUC__)
+#include <winioctl.h>
+#endif
 
-
 /* FIXME: should be in cfgmgr32.h */
 typedef DWORD               CONFIGRET;
 typedef DWORD               DEVINST, *PDEVINST;
@@ -342,9 +344,6 @@
 	return 0;
 }
 
-DEFINE_GUID(GUID_DEVINTERFACE_SERENUM_BUS_ENUMERATOR,
-  0x4D36E978L, 0xE325, 0x11CE, 0xBF, 0xC1, 0x08, 0x00, 0x2B, 0xE1,
0x03, 0x18);
-
 /*int main(void)
 {
 	ListByClass();
  _____  

Modified: trunk/reactos/subsys/system/devmgr/devmgr.xml
--- trunk/reactos/subsys/system/devmgr/devmgr.xml	2005-10-19
20:35:01 UTC (rev 18604)
+++ trunk/reactos/subsys/system/devmgr/devmgr.xml	2005-10-19
21:08:53 UTC (rev 18605)
@@ -1,5 +1,6 @@

 <module name="devmgr" type="win32cui" installbase="system32"
installname="devmgr.exe">
 	<define name="__USE_W32API" />
+	<define name="DEFINE_GUID" />
 	<library>ntdll</library>
 	<library>setupapi</library>
 	<library>gdi32</library>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051019/7f0906ae/attachment.html


More information about the Ros-diffs mailing list