* include/ddk/winddk.h (KeGetCurrentKPCR): Support -masm=intel.

2006-01-24  Jiri Malak  <Jiri.Malak@iol.cz>

	WATCOM compatibility changes.
	* include/ddk/ntddk.h (DECL_IMPORT): Define using __declspec,
	rather than __attribute__.
	(DECL_EXPORT): Likewise.
	* include/ddk/winddk.h (DDKAPI): Avoid using __attribute__.
	(DDKFASTAPI): Likewise.
	(DDKCDECLAPI): Likwise.
	(KeGetCurrentKPCR): Provide __WATCOMC__ syntax for inline code.
This commit is contained in:
Danny Smith
2006-01-24 01:02:31 +00:00
parent 543c43d84d
commit e5e6a33128
3 changed files with 39 additions and 8 deletions

View File

@@ -59,11 +59,11 @@ typedef CONST char *PCSZ;
#endif
#ifndef DECL_IMPORT
#define DECL_IMPORT __attribute__((dllimport))
#define DECL_IMPORT __declspec(dllimport)
#endif
#ifndef DECL_EXPORT
#define DECL_EXPORT __attribute__((dllexport))
#define DECL_EXPORT __declspec(dllexport)
#endif
/* Windows NT status codes */