mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
Added a macro for _declspec (backward compatibility synonym of
__declspec). Removed the dllimport and dllexport macros.
This commit is contained in:
parent
f2973ca0c8
commit
52b2878abe
1 changed files with 2 additions and 3 deletions
|
@ -141,9 +141,8 @@ extern "C" {
|
|||
#define WINAPIV __cdecl
|
||||
#define APIENTRY WINAPI
|
||||
|
||||
#define _declspec(x)
|
||||
#define __declspec(x)
|
||||
#define dllimport
|
||||
#define dllexport
|
||||
|
||||
#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) */
|
||||
#define SET_LOWORD(dw,val) ((dw) = ((dw) & 0xffff0000) | LOWORD(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)))
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue