Removed old PARAGRAPH_SHIFT and PARAGRAPH_SIZE.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@51 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -45,10 +45,6 @@ typedef SIZE *PSIZE;
|
|||||||
|
|
||||||
typedef unsigned char UNICODE;
|
typedef unsigned char UNICODE;
|
||||||
|
|
||||||
#define PARAGRAPH_SHIFT 0
|
|
||||||
|
|
||||||
#define PARAGRAPH_SIZE (1 << PARAGRAPH_SHIFT)
|
|
||||||
|
|
||||||
#define NULL_PTR 0L
|
#define NULL_PTR 0L
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
|
|||||||
@@ -87,8 +87,7 @@ extern MEM_HANDLE GetResourceData (FILE *fp, DWORD
|
|||||||
#define RESOURCE_DATAPTR PBYTE
|
#define RESOURCE_DATAPTR PBYTE
|
||||||
|
|
||||||
#define AllocResourceData(s,mf) \
|
#define AllocResourceData(s,mf) \
|
||||||
mem_allocate ((MEM_SIZE)(s)+(PARAGRAPH_SIZE-1), \
|
mem_allocate ((MEM_SIZE)(s), (mf), RESOURCE_PRIORITY, MEM_SIMPLE)
|
||||||
(mf), RESOURCE_PRIORITY, MEM_SIMPLE)
|
|
||||||
#define LockResourceData(h,lp) \
|
#define LockResourceData(h,lp) \
|
||||||
do \
|
do \
|
||||||
{ \
|
{ \
|
||||||
|
|||||||
Reference in New Issue
Block a user