commit | 7fbd74ea5516846278dea858c88f0ce7c7947eee | [log] [tgz] |
---|---|---|
author | Alexandre Julliard <julliard@winehq.org> | Thu May 23 02:53:10 2002 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Thu May 23 02:53:10 2002 +0000 |
tree | 2adcc33b1b2e27e4533c6aec79f17bd03f94b267 | |
parent | 5852f7a18527d6887f92caa271b358e1edba596e [diff] [blame] |
Replaced the GET/PUT_UA macros by memcpy. Fixed a few big-endian issues.
diff --git a/include/user.h b/include/user.h index 58b7b16..54a9b2d 100644 --- a/include/user.h +++ b/include/user.h
@@ -38,6 +38,9 @@ #define USER_HEAP_LIN_ADDR(handle) \ ((handle) ? MapSL(MAKESEGPTR(USER_HeapSel, (handle))) : NULL) +#define GET_WORD(ptr) (*(WORD *)(ptr)) +#define GET_DWORD(ptr) (*(DWORD *)(ptr)) + #define USUD_LOCALALLOC 0x0001 #define USUD_LOCALFREE 0x0002 #define USUD_LOCALCOMPACT 0x0003