- winddk.h: Don't define NTSYSAPI and NTSYSCALLAPI -- this is defined in ntdef.h...
authorStefan Ginsberg <stefanginsberg@gmail.com>
Fri, 7 Aug 2009 10:45:59 +0000 (10:45 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Fri, 7 Aug 2009 10:45:59 +0000 (10:45 +0000)
commitac7daf7ccfbe6b1b646710fd02b7f28e358664e7
tree9f8c16fedee23d4776bde25652736c5b63ed3456
parent8a3b6b198394bd01d95dc17a15c53fcebff78ce3
- winddk.h: Don't define NTSYSAPI and NTSYSCALLAPI -- this is defined in ntdef.h. Use NTSYSAPI for HalDispatchTable instead of DECLSPEC_IMPORT (see below).
- wdm.h: Properly define NTKERNELAPI.
- ntifs.h: Properly define NTKERNELAPI, and don't redefine NTSYSAPI.
- ntoskrnl: Apply the WDK hack for our headers (and gcc) too. Also redefine NTHALAPI for NDK so we don't auto-import KdComPortInUse -- ld complains about this.
- Apply this for cmlib, csq and rossym too.
- Use this in HAL too, and redefine NTSYSAPI so we don't auto import some structures from the kernel. Also, don't define __declspec(dllimport) to nothing -- this doesn't work with gcc, and doesn't seem to be necessary. I tried building HAL with the WDK and this wasn't an issue.

svn path=/trunk/; revision=42461
reactos/hal/halarm/include/hal.h
reactos/hal/halppc/include/hal.h
reactos/hal/halx86/include/hal.h
reactos/include/ddk/ntifs.h
reactos/include/ddk/wdm.h
reactos/include/ddk/winddk.h
reactos/lib/cmlib/cmlib.h
reactos/lib/drivers/csq/csq.c
reactos/lib/rossym/initkm.c
reactos/ntoskrnl/include/precomp.h