Added a macro for _declspec (backward compatibility synonym of

__declspec).
Removed the dllimport and dllexport macros.
This commit is contained in:
Francois Gouget 2000-09-22 22:18:41 +00:00 committed by Alexandre Julliard
parent f2973ca0c8
commit 52b2878abe
1 changed files with 2 additions and 3 deletions

View File

@ -141,9 +141,8 @@ extern "C" {
#define WINAPIV __cdecl #define WINAPIV __cdecl
#define APIENTRY WINAPI #define APIENTRY WINAPI
#define _declspec(x)
#define __declspec(x) #define __declspec(x)
#define dllimport
#define dllexport
#define CONST const #define CONST const
@ -395,7 +394,7 @@ typedef LRESULT CALLBACK (*WNDPROC)(HWND,UINT,WPARAM,LPARAM);
/* macros to set parts of a DWORD (not in the Windows API) */ /* macros to set parts of a DWORD (not in the Windows API) */
#define SET_LOWORD(dw,val) ((dw) = ((dw) & 0xffff0000) | LOWORD(val)) #define SET_LOWORD(dw,val) ((dw) = ((dw) & 0xffff0000) | LOWORD(val))
#define SET_LOBYTE(dw,val) ((dw) = ((dw) & 0xffffff00) | LOBYTE(val)) #define SET_LOBYTE(dw,val) ((dw) = ((dw) & 0xffffff00) | LOBYTE(val))
#define SET_HIBYTE(dw,val) ((dw) = ((dw) & 0xffff00ff) | (LOWORD(val) & 0xff00)) #define SET_HIBYTE(dw,val) ((dw) = ((dw) & 0xffff00ff) | (LOBYTE(val) << 8))
#define ADD_LOWORD(dw,val) ((dw) = ((dw) & 0xffff0000) | LOWORD((DWORD)(dw)+(val))) #define ADD_LOWORD(dw,val) ((dw) = ((dw) & 0xffff0000) | LOWORD((DWORD)(dw)+(val)))
#endif #endif