mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 484918 - Fixes build bustage in plugins on Windows CE. r=blassey
This commit is contained in:
parent
ee95bbe143
commit
979a387be4
@ -1721,7 +1721,7 @@ _construct(NPP npp, NPObject* npobj, const NPVariant *args,
|
||||
return npobj->_class->construct(npobj, args, argCount, result);
|
||||
}
|
||||
|
||||
#ifdef MOZ_MEMORY_WINDOWS
|
||||
#if defined(MOZ_MEMORY_WINDOWS) && !defined(MOZ_MEMORY_WINCE)
|
||||
extern "C" size_t malloc_usable_size(const void *ptr);
|
||||
|
||||
BOOL
|
||||
@ -1759,7 +1759,7 @@ _releasevariantvalue(NPVariant* variant)
|
||||
const NPString *s = &NPVARIANT_TO_STRING(*variant);
|
||||
|
||||
if (s->UTF8Characters) {
|
||||
#ifdef MOZ_MEMORY_WINDOWS
|
||||
#if defined(MOZ_MEMORY_WINDOWS) && !defined(MOZ_MEMORY_WINCE)
|
||||
if (malloc_usable_size((void *)s->UTF8Characters) != 0) {
|
||||
PR_Free((void *)s->UTF8Characters);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user