use -D__USE_W32API
Modified: trunk/reactos/drivers/bus/isapnp/isapnp.h
Modified: trunk/reactos/drivers/bus/isapnp/makefile
_____
Modified: trunk/reactos/drivers/bus/isapnp/isapnp.h
--- trunk/reactos/drivers/bus/isapnp/isapnp.h 2005-05-27 21:51:26 UTC
(rev 15551)
+++ trunk/reactos/drivers/bus/isapnp/isapnp.h 2005-05-27 22:15:36 UTC
(rev 15552)
@@ -5,6 +5,8 @@
extern "C" {
#endif
+#define IO_RESOURCE_REQUIRED 0x00 //ROS Extension
+
#define ISAPNP_ADDRESS_PORT 0x0279 // ADDRESS (W)
#define ISAPNP_WRITE_PORT 0x0A79 // WRITE_DATA (W)
#define ISAPNP_MIN_READ_PORT 0x0203 // READ_DATA (R)
_____
Modified: trunk/reactos/drivers/bus/isapnp/makefile
--- trunk/reactos/drivers/bus/isapnp/makefile 2005-05-27 21:51:26 UTC
(rev 15551)
+++ trunk/reactos/drivers/bus/isapnp/makefile 2005-05-27 22:15:36 UTC
(rev 15552)
@@ -8,7 +8,7 @@
TARGET_OBJECTS = isapnp.o
-TARGET_CFLAGS = -Werror -Wall
+TARGET_CFLAGS = -D__USE_W32API -Werror -Wall
include $(PATH_TO_TOP)/rules.mak
Show replies by date