2006-01-24 Danny Smith <dannysmith@users.sourceforge.net>
* 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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user